Assigning Roles to Users Before they Login

rgraves - June 25, 2009 - 15:08
Project:LDAP integration
Version:6.x-1.0-alpha2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:fixed
Description

In Drupal 5, I would add a new user and give them specific roles at the same time. Then I would click save, then edit the user and add the LDAP User DN information so that they could login using their LDAP username/password.

I recently upgraded to Drupal 6 and with the newest version of LDAP Integration, I don't see a field to add their LDAP User DN.

As a result, if I add the new user and their roles before they login, it creates a drupal account. They then get an error message if they try to login with their LDAP account. I now have to instruct them to login first and then I can go edit the user to add them to specific roles.

Is there a way where I can setup an LDAP account in specific roles before the user logins in?

#1

miglius - July 3, 2009 - 21:10
Status:active» postponed (maintainer needs more info)

Have you tried using "Associate local account with the LDAP entry" settings option?

#2

rgraves - July 7, 2009 - 19:24

That seems to have fixed it. Thanks.

#3

markDrupal - October 29, 2009 - 18:05
Status:postponed (maintainer needs more info)» fixed
 
 

Drupal is a registered trademark of Dries Buytaert.