Hi there;

First of all thanks for developing this awesome module!

I got a little problem with the lastest version though, where i get an LDAP_search error. I have the feeling it has to do with the fact it tries to put attributes in where there are none.

ldap_search() function error. LDAP Error: Operations error, ldap_search() parameters: ldap_search() call: base_dn: ##########, filter = (sAMAccountName=######), attributes: , attrsonly = 0, sizelimit = 0, timelimit = 0, deref = , scope = 3

The previous version was working perfectly, and now i'm somehow stuck. I tried to find the place in the code where this ldap_search function is called, but was unable to. Does anyone got any clue? Is this related to the code or is my DN somehow bugged? (since its referring to binding with DN and afterwards with blank DN while i specifically asked for anonymous connection). Also when i enter credentials and leave the option on anonymous connection it still tries to connect based on the inputted values, which shouldnt be used at all i think?

Warning: ldap_search() [function.ldap-search]: Search: Operations error in LdapServer->search() (line 280 of \sites\all\modules\ldap\ldap_servers\LdapServer.class.php).
Warning: array_keys() expects parameter 1 to be array, null given in ldap_server_tokenize_entry() (line 214 of \sites\all\modules\ldap\ldap_servers\ldap_servers.functions.inc).
Warning: array_filter() expects parameter 1 to be array, null given in ldap_server_tokenize_entry() (line 215 of \sites\all\modules\ldap\ldap_servers\ldap_servers.functions.inc).
Warning: Invalid argument supplied for foreach() in ldap_server_tokenize_entry() (line 216 of \sites\all\modules\ldap\ldap_servers\ldap_servers.functions.inc).

Connection Info

    Binding with DN for non-anonymous search (). Using password stored in configuration
    Binding with null DN for anonymous search.
    Successfully bound to server

If anyone got any clue please reply. I'll try to install the latest dev version soon to see if thats any better, and i asked the AD maintainers for clues in the DN as well. If i got any updates i'll post them asap.

Thanks in advance!

Comments

johnbarclay’s picture

Status: Active » Closed (won't fix)