Assigning Roles to Users Before they Login
| Project: | LDAP integration |
| Version: | 6.x-1.0-alpha2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
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
Have you tried using "Associate local account with the LDAP entry" settings option?
#2
That seems to have fixed it. Thanks.
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.