I have LDAP Data running very nicely on a D5 site. It is set up so that authentication is done via the LDAP server, and I have created several profile fields for the cn, ou, mail, and other site-specific attributes. Using LDAP Data these profile fields are mapped to the corresponding LDAP attributes.
When a new user logs in to the site, he is authenticated successfully via the LDAP server, and all the profile fields that I have specified are successfully populated from the LDAP directory. I am a little perplexed that I have managed to to this without changing ldapdata.conf.php - but I have and it works, so who's complaining?
I have recently upgraded this site to D6 and installed the LDAP Authentication and LDAP Data modules, and my site now half works. The authentication works fine, and if a new user is successfully authenticated via the LDAP directory then a new Drupal user account is created for him.
However, none of the LDAP Data fields are imported from the directory (common name, mail, etc etc). I have checked all the configuration and cannot find anything different compared to the D5 config. I am at my wits end and would dearly like to have some help on this.
Comments
Comment #1
martink commentedI managed to sort this out. I installed the latest development version and then re-entered all the passwords, and to my surprise that is now OK!