Import existing LDAP users into drupal

Events happening in the community are now at Drupal community events on www.drupal.org.
bstoppel's picture

I am building a new drupal site and need to import my existing LDAP users in order to fully configure the system and set up the content. AFAIK there is no way of importing existing LDAP users into drupal. When I use LDAP Provisioning, it wants to create LDAP users as well as Drupal users. When a user logs in for the first time, their LDAP information is imported. But I need to mass import all existing LDAP users without requiring them to login the first time.

Thanks.

Brett

Comments

Solved

bstoppel's picture

This is reasonably easy to solve.

Simply create a normal drupal user. Or upload users with the User Import module.

In the configuration for the LDAP Auth module, select "Associate local account with the LDAP entry" under "Choose user conflict resolve procedure"

When a user logs in in for the first time, it will authenticate against LDAP. If LDAP authentication fails, drupal authentication is check. If that fails, the user can't login.

Kansas City

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: