Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This should be in the to ldap mapping pulldowns:
Options should include
-- password entered on user create form, defaulting to good random password
-- good random password
password should be encoded, as all values passed to ldap.
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentedI added the password pulldown for provisioning to ldap entries. I committed it but haven't run the simpletests or documented the options. Here are the options:
at admin/config/people/ldap/user/test drill down in the array to:
provisionLdapEntry method results > context that is enabled > proposed
to see the way the mappings will behave.
Comment #2
johnbarclay CreditAttribution: johnbarclay commentedThis is finished except for unit testing. And is committed to 7.x-2.x-dev.
The way the password options work are explained in the UI beneath the mapping to ldap table.
Needs review, testing and simpletest coverage.
Here's the commit: http://drupalcode.org/project/ldap.git/commitdiff/b4be558a40445e3e7d2fbe...
Comment #3
johnbarclay CreditAttribution: johnbarclay commentedComment #4
nonsie#1 is not entirely correct. Pwd: User and Pwd: User or None are not currently available options.
Comment #5
johnbarclay CreditAttribution: johnbarclay commentedI committed a related patch #1884922-13: LDAP User: Password field disabled Makes use case of Provisioning Passwords from Drupal to LDAP unusable related to password behavior and provisioning.
http://drupalcode.org/project/ldap.git/commitdiff/cb3dede7d354e4a6c0bd9f...
Comment #6
larowlanComment #8
grahlTests won't be written for 7.