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

miglius’s picture

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.

Rj-dupe-1’s picture

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?

Jeremy Byrne’s picture

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.

Rj-dupe-1’s picture

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

John Franklin’s picture

Issue summary: View changes
Status: Active » Fixed

Marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.