I've an LDAP server where is not possible to read data anonymously. I want to allow users to read some of their attributes in the ldap directory, and map them to some profile fields. So I enabled LDAP Data modules, and make some attributes user-readable. All works perfectly: when users tries to read his profile, he can read correctly all his LDAP attributes: drupal logs to the ldap server with user's username and password.
Then I went to the system wide option "anonymous ui" and I just checked "Remove Request new password link from login block". Since then, users cant read their ldap attributes anymore. Investigating, I've found that, after checking the "remove request password.." option, Drupal tries to access LDAP only anonymously (that's why it's not possible to retrieve user's data from ldap).
Watch the pitcure attached.
Unchecking that option again doesn't solve the problem...! Any help...?
| Comment | File | Size | Author |
|---|---|---|---|
| problem_ldap.jpg | 101.52 KB | francoud |
Comments
Comment #1
francoud commentedOpps. I've found that the problem was present if I leave checked the "Do not store users' passwords during sessions" ... uncheck it solved my problem. :/
Comment #2
cpugeniusmv commented