compatibility with ldap and alt_login
| Project: | User Import |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Hi,
Would it be possible to specify a column as an ldap login string when importing users, and also an alternate login name?
Compatibility with these 2 modules:
http://drupal.org/project/ldap_integration
http://drupal.org/project/alt_login
So for example our site will have hundreds of users, all of who authenticate against an ldap database. I'd like to import their accounts from a spreadsheet, but specify the ldap authentication string, too, which can look something like this for example:
"uid=myusername,cn=users,dc=myserver,dc=ed,dc=mydomain,dc=edu"
And the alternate login module is so they can have their real (first and last) names displayed on Drupal, which still using a traditional lowercase username to login to LDAP.

#1
Here are extensions that do this.
The alt_login one lets you pick a column to user for the alternative login name.
And the ldapauth one lets you set whether the 'use ldap authentication' checkbox is checked for each user. The ldap_dn string I found didn't need to be set, since it is filled in automatically when the user first logs in.
#2
#3
Would appreciate any feedback that these two support files work as advertised.
I'm not set up to test them, but I can review them for code quality and security.
#4
Could you explain how to use this LDAP patch? It doesn't seem to be a standard patch file, unless I'm confused. I have a test environment and would be happy to give some feed back on it. We've been using the LDAP module for a while and have run into this problem a couple times and this would be really helpful for us.