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
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

miglius - March 22, 2008 - 11:35

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

Rj - March 22, 2008 - 15:59

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

Jeremy Byrne - March 23, 2008 - 06:16

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

Rj - March 23, 2008 - 06:46

Ah, that fixes it. Perhaps this text should be changed in the package.

 
 

Drupal is a registered trademark of Dries Buytaert.