Hi there, upgrading from 8.x-3.0-alpha2 to 8.x-3.0-alpha3 causes my LDAP authentication to break.
In my debug, I don't see much:
[myusername] : Success at connecting to ldap_1
ldap_search() call: base_dn: dc=blah,dc=blah,dc=blah, filter = (uid=myusername), attributes: , attrsonly = 0, sizelimit = 0, timelimit = 0, deref = , scope = 3
myusername : Authentication result is 6 (unknown error: 6)
in 8.x-3.0-alpha2 the authentication works fine, however i'm having issues with the authorization in that version (but that's probably a different story).
Not much on the server-side logs of anything either.
Note that authentication was working fine in 8.x-3.0-alpha2, so my server settings should all be good. Any clues?
Thanks much in advance.
Comments
Comment #2
grahlCan you please enable ldap_help with detailed logging and report back if dev fixes this and also scan this issue for likely causes? https://www.drupal.org/node/2843518
Will look into this next week.
Comment #3
cherner commentedHello,
#12 in https://www.drupal.org/node/2843518 actually fixed my issue. I too had the same entry for "AccountName" and "Authname". Erasing the entry for "AccountName" and leaving it blanked solved my issue.
Thanks!
Now hopefully I can get the LDAP authentication working :)
P.S. - does the ldap_help module output logs somewhere else other than /admin/reports/dblog or is it just more verbose? I'm trying to figure out how to provide better details here since I am having trouble with mapping LDAP groups to drupal roles (different issue than here). And would I report that issue here or somewhere else (about authentication profile setup)?
Comment #4
grahlldap_help logs to dblog as everything else, just with many more records.