compatibility with ldap and alt_login

dugh - June 27, 2008 - 18:47
Project:User Import
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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

dugh - July 5, 2008 - 00:15

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.

AttachmentSize
alt_login.inc_.txt 738 bytes
ldapauth.inc_.txt 856 bytes

#2

dugh - July 6, 2008 - 20:36
Status:active» needs review

#3

Robert Castelo - July 6, 2008 - 23:51

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

aaronmontana - January 26, 2009 - 19:28

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.

 
 

Drupal is a registered trademark of Dries Buytaert.