This module is written for 4.7 and depends on ldapauth and ldapdata.

The module takes care of the user registration to the site. It overwrites the standard drupal registration form and adds customizable fields from the ldapdata module as well as from the profile module. It also is integrated with the captcha and prints captcha image/question in the form. When a request is filled in the module sends out a verification email to the requesters email address. Once email is validated by entering the secret code from the email's message the registration data is put in the pending accounts queue.

Accounts managers (with the special rights) receives an email upon a new account request, they then can open pending accounts list, review, select additional roles (if needed) for the user and process the request. By submitting the request a new account is created in the ldap with the random password and an email is sent to the new user with his password and one time login link.

Account provisioning can be configured to bypass the approval queue. Then once email is validated an account is created in the ldap.

Module can be configured to allow custom usernames, but also can be configured to create usernames from the mandatory first and last names, e.g, %l%f2 will create usernames like lowercase last name with appended two first name first letters.

Other feature coming with this module is invites. Users with a special permissions can send invites to the site by entering form (email and message) to their friends. When a friend receives such an email, he then clicks the link in the mail message and is taken to the registration form. His email is validated and registration from the invite bypasses the requests queue. Invites are integrated with the buddylist module (if it is enabled) and if configuration is set it can automatically set your invitee as your buddy.

All information about newly created users and information about persons who authorized or invited other users are stored in the database for the late reference.

The module has implemented batch accounts upload from the xml or csv files. Those files are processed and requests are put into the pending account queue.

This module implements the drupal delete and rename hooks, it deletes ldap entry upon drupal user deletion and takes care of renaming ldap entry when drupal user is renamed.

As a supplementary modules in the tarball ar ldapjabber and ldapsip:

ldapjabber creates jabber IDs if the jabber module is enable upon new user creation;
ldapsip adds sip extension information to the ldap if ldap server is configured as a backend for the asterisk PBX;

Attached file is a gzipped tarball. I have changed extension to .txt since .gz is not allowed.

CommentFileSizeAuthor
ldap_provisioning_tar_gz.txt17.22 KBmiglius

Comments

kreaper’s picture

miglius

Support for 4.7 (or pre-5.x) is pretty much non-existant. Would you be willing to submit a 5.x version ? Also, is that code documented ?

kreaper

miglius’s picture

The company I'm working for is still using drupal 4.7. When we upgrade to drupal 5 later this year, most probably I will port this code to version 5.

There is some inline documentation, but the installation and usage is straightforward - enable module and configure ldap server settings.

linulo’s picture

I hope you still work for this company and it still does want to upgrade.
Would love to have this for 5.3...
...or maybe even 6.

linulo’s picture

miglius’s picture

This project http://drupal.org/project/ldap_provisioning is a placeholder for the Drupal 5x module. The ldap provisioning is already ported to D5 and should be fully functional.

johnbarclay’s picture

Status: Needs review » Closed (fixed)

Closing 4.7 issues to clean out issue queue.