Even though i can modify the "mail" ldap attribute via drupal, if i log out in log in again, go to my_account>modify, the mail address field is empty (so i can't ask for a new password for example, or receive contact messages)
i can see the mail attribute exists, and it can be modified or created by drupal, but not read by drupal.
I don't use mixed mode, but ldap only, how can i do for making drupal read the mail attribute ?
Comments
Comment #1
miglius commentedIf I understand correctly, you're using ldap data module to sync drupal and ldap mails, right?
Does the user has enough rights to read it's mail attribute in ldap?
Comment #2
johnbarclay commentedYou might try the wizard in the ldap integration help module (http://drupal.org/node/353036) . It will give you a message something like the following when with a test username of jbarclay:
I wrote the module to help debug ldap integration problems.
John
Comment #3
ashledombos commented>If I understand correctly, you're using ldap data module to sync drupal and ldap mails, right?
yes !
>Does the user has enough rights to read it's mail attribute in ldap?
YEs the rights are sufficients, and users can also change their mail attributes
Comment #4
ashledombos commented>I wrote the module to help debug ldap integration problems.
I can't use it :(
i downloaded it, and then activated it, and... all my site became blank !
so i have to to delete the folder ldaphelp in order to make my website working again :/
Comment #5
johnbarclay commentedSorry to hear. Can you put something like:
at the top of settings.php and let me know what the error says?
Feel free to email me directly if you like: jbarclay --at-- illinois.edu
Comment #6
johnbarclay commentedThanks ashledombos for helping me debug this.
I've fixed this bug to the help modules. The update is at:
http://drupal.org/node/353036 comment #3.
Comment #7
miglius commentedIs mail attribute missing only on the first login? Is it pulled on following logins?
Comment #8
Jhef.Vicedo commentedYes email field is missing on the first log in (first time the user has logged-in). I think the email field was not included on the $userinfo being save.
Though I am using 6.x-1.0-alpha2 version. See the code on creating new user account.
Comment #9
miglius commentedCan you test the latest dev release to see if issue is still there?
Comment #10
miglius commentedA number of fixes were committed to the dev branch lately. Closing this ticket as I think this issue is solved. Please reopen if that is not the case.
Comment #11
ashledombos commentedThank you, will test !