I have 2 sites which are connected to one LDAP server with users on it. One is Drupal and one is Moodle. The LDAP authenification works perfectly in Moodle (but only supports MD5 and SHA) and in Drupal i've got the following Problem:
When a user changes his password at /user/(id)/edit a randomly generated password is stored in LDAP instead of the password submitted by the user. Only when the user relogs into drupal the password is updated. The user mappings from Drupal to LDAP are: Pwd: User or Random to [userPassword]
I also tried this mapping: Field: Password to [userPassword], but then the Drupal hashed Password is stored in LDAP which can not be accessed in Moodles LDAP Plugin because it only supports MD5 and SHA hashing.
I hope somebody can help me out. This Issue is really stopping me from further developing...
Comments
Comment #2
Freackzocker commentedComment #5
grahlHi
It turned out that the temporary password storage wasn't triggered in that form due to a change in the form ID and a wrong call to submit instead of validate.
Please retest with DEV and reopen if still an issue for you, works fine for me on OpenLDAP.
Also added the option back for the plaintext password or empty instead of just plaintext password or random. Also updated the label.
Comment #6
grahl