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.
Hi,
I understand that we can't use the standard forms to create users in LDAP but is there a form/code included in LDAP-Provisioning that allows users to create their own accounts?
We can't really allow unauthorised users to access Administer->User Management->Account management->new and use this form to create a new user.
Comments
Comment #1
miglius CreditAttribution: miglius commentedLDAP provisioning overrides the standard drupal forms for the user registration and gives more configurable options for the user registration form.
If site is configured that new users can create accounts themselves then the /user/register form should be used to create ldap accounts.
Comment #2
Rj-dupe-1 CreditAttribution: Rj-dupe-1 commentedHmm. That doesn't seem to have worked in our install; the standard forms just create users in the regular database. It seemed from the comments in the "User created on database but not on LDAP" support request that this is what happened to them too. Is there a setting or something that we might have missed?
Comment #3
Jeremy Byrne CreditAttribution: Jeremy Byrne commentedIt's important to ensure that the "Authentication Mode" under "System Wide Options" in the LDAPauth module (/admin/settings/ldapauth/options) is set to "Drupal's DB first, then LDAP directory". If it's set to "LDAP directory only", user/login seems to create only Drupal users, not LDAP and Drupal users.
Comment #4
Rj-dupe-1 CreditAttribution: Rj-dupe-1 commentedAh, that fixes it. Perhaps this text should be changed in the package.
Comment #5
John Franklin CreditAttribution: John Franklin commentedMarking as fixed.