By eliza411 on
I have successfully installled the LDAP Integration module. We have some 10,000 users in LDAP, but only 100 or so who may potentially be added to the "author" role we've created.
Right now, LDAP users don't show up until they have logged in, and many of our users have not and will not log in prior to becoming an author. I would like to be able to set up those users' accounts as needed, assigning the "author" role without e-mailing them to ask them to log in first.
How should I go about making drupal aware of certain LDAP users for this purpose?
Comments
Feature request
This is likely a feature request. We should be able to store a "role" field in LDAP, and then have a feature in the LDAP integration module to map/sync the roles field to the roles table in Drupal.
I'll make a feature request then
Thanks, I'll make a feature request then. I'm not sure I was clear, though. I doubt for this job we'll ever be given write-access to the LDAP database. On a different job, the sysadmin disabled drupal authentication, I added the users, he re-enabled it, and I set up their permissions. Then, when they logged in, they were mapped appropriately but had the drupal-side roles already assigned. This isn't a long-term solution, though.
OK...understood better
Then it's still a feature request. Basically, be able to browse/filter the LDAP directory and pre-create or "import" the users, potentially with other functions like mass-assignment of roles.
This MIGHT warrant a new module (e.g. LDAP_import). Look at the user import module for some ideas of the types of things one might do, like emailing out notification after import.
I submitted it
Yeah, I thought it was still a feature request and submitted it . . . http://drupal.org/node/78496
I will look at the user import module now.