My organization uses two LDAP servers: (1) an ActiveDirectory server (which I use for user authentication) and (2) a second LDAP server that includes other user info (departmental phone number, home address, etc.). I am able to authenticate users just fine using the ldapauth module and the first LDAP server. Furthermore, I'm able to map data to a user's profile using the ldapdata module (admin/settings/ldap/ldapdata).
Here's the problem: I want to read data from the second LDAP server and map it to the user's profile. No authentication takes place to this second server (anonymous bind), though. I've set up this second LDAP server at admin/settings/ldap/ldapauth, but when a user logs in, no data is showing up in the mapped fields from this second LDAP server. I'm wondering if the problem is that this second server is anon. bind only.
Any thoughts?
Thanks!
Comments
Comment #1
cgmonroe commentedClearing out old support requests - reopen if problem still exists in newest code.
That said, once a user is authenticated it is "bound" to that server. Data is only pulled from the authenticating server. Your case is is not a common use case so you will have to do custom coding to make this work...