Closed (fixed)
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2009 at 23:13 UTC
Updated:
23 Apr 2009 at 18:20 UTC
I have had LDAP integration working for about six months now. Awesom module.
About a week ago I noticed that LDAP was no longer updating user info, so I upgraded from alpha 2 to the latest dev. It then occurred to me that I had installed Content Profile at about the time things started going haywire.
When a user logs in, LDAP grabs the email and username (which are defined in the server settings) but nothing else. I get the error: "User view: user [username]'s data could not be read in the LDAP directory" when anyone logs in
I have checked the attributes and the group mapping and everything looks OK. Any thoughts? Thanks.
Comments
Comment #1
gettysburger commentedOh, and I got this error:
implode(): Invalid arguments passed in /srv/www/htdocs/sites/all/modules/ldap_integration/ldapgroups.admin.inc on line 123.
...on this page:
/admin/settings/ldap/ldapgroups/edit/1
Not sure if this is related.
Comment #2
miglius commentedDid you run upgrade.php script?
Comment #3
gettysburger commentedYes, thanks for asking. I ran it again, just for fun and the behavior is the same.
It does validate the user against my network and sees the username and email, which are set in the global settings.
It does NOT map the LDAP Group the Drupal Roles.
It does NOT grab the other attributes.
Comment #4
gettysburger commentedI got it to work.
In Configure LDAP Server/Login Procedue/Base DNs: I changed:
ou=MYADMIN
o=HGJ
..to be all on the same line, separated by a comma
ou=MYADMIN,o=HGJ
...and it WORKED.
Comment #5
parkej60 commentedI am having pretty much this exact same issue, except I'm not getting any errors. The data just doesn't map. I'm able to authenticate but like I said it will not map any data. Since you said your issues started when you installed Content Profile I removed it. I also have uninstalled this module and reinstalled, re-configured the authentication numerous times and no matter what it will not map the data. Any suggestions?
Comment #6
miglius commentedLDAP data module is integrated with the core profile module, not with a contrib content_profile module.
Comment #7
gettysburger commentedI no longer think that Content Profile has anything to do with it. The fix for us was putting the server configuration in a line separated by commas, instead of on separate lines, as the instructions suggest.
In Configure LDAP Server/Login Procedue/Base DNs:
Don't do this:
ou=MYADMIN
o=HGJ
..do this
ou=MYADMIN,o=HGJ
Have you tried that?