change the dn to use uid instead of cn at account creation time

gsvitak - September 18, 2008 - 02:31
Project:LDAP provisioning
Version:5.x-1.0-alpha1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

hello,

thank you for the work. It will be very valuable to my site.

I ran into an issue with my install of the module. I use openldap and it is expecting a dn similar to uid=user,ou=people, etc.

When I try and create accounts via the account management interface, the debug statements showed the dn started with cn=.
I could not find where to configure this setting in the admin interface so I had to hack the code to hard code to use uid instead.

Could we please have a way of configuring this option.

Thanks,
G

#1

miglius - September 18, 2008 - 13:46

DN is inherited snd constructed from the ldapauth module settings. There is a settings in the ldapauth configuration for the "Base DNs:" and "UserName attribute:".

So I think you should change "UserName attribute:" to uid and it should work.

 
 

Drupal is a registered trademark of Dries Buytaert.