I don't know if this is a bug, but I assume that there's just some important information about LDAP-integration missing from the documentation.
The problemI tried to follow the instructions in README.txt on how to configure LDAP. I cannot manage to get any information populated over to the user's profile. I've tried many different ways, but the only info that comes in is the e-mail address coming straight from the Pubcookie authentication. (I've tried both with single-line and multi-line fields, and both with LDAP fields containing one or many rows.)
Is there any other module apart from 'profile' that I'd need to enable? This doesn't require the auth_ldap or ldap Apache2 modules, does it? Any ideas on how I'd get this working?
Might using LDAP some other way be better?Another issue is that I'd like to have all the info taken from LDAP (that I can think of now) to stay up to date. Is it so that the Pubcookie module only fetches the info once upon the first login (technically speaking registration)? I guess one could then have some crontab to refresh the fields every night, or just make Drupal fetch the info straight from LDAP each time it needs it. I guess that the latter would be better in my case.
Would it then be better to not at all use the Pubcookie module's LDAP functionality but to find another module, which? ...or just to roll my own?
Comments
Comment #1
jvandyk commentedNo module is needed other than profile (now deprecated in Drupal 7).
Pubcookie's admittedly limited LDAP functionality just does an LDAP query at Drupal user account creation time. It does not synchronize with LDAP.