Users self-creating accounts in LDAP
Rj - March 22, 2008 - 03:43
| Project: | LDAP provisioning |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
LDAP 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.
#2
Hmm. 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?
#3
It'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.
#4
Ah, that fixes it. Perhaps this text should be changed in the package.