LDAP module attempts to bind to my directory and do a serachRequest on the DN of the logged-in user on each page view. I have non-anonymous binds configured under Advanced configuration at admin/settings/ldap/ldapauth/edit/1, so it should be binding using that account.
Hitting Test confirms that the non-anonymous account is correctly configured.
I am also monitoring TCP communications with Wireshark and can confirm that the actual LDAP messages support everything I wrote above.
Comments
Comment #1
aren cambre commentedClarification on above: the per-page view LDAP queries are being done with an anonymous bind.
Comment #2
miglius commentedI don't think that ldapauth module binds to the LDAP server on each page load. ldapdata might do so. Can you disable ldapdata module to confirm it? Also, what is your settings for "Synchronizing options" in the ldapdata configuration?
Comment #3
miglius commentedComment #4
aren cambre commentedDisabling ldapdata does stop that from happening, and entering an account into ldapdata's "Advanced configuration" fixes it. I noticed two other issues, however, and I'll open separately as to not confuse this one.