Hi, I was wondering if there is any existing contrib to externalize the LDAP_UID "uid" attribute mapping within qmail-ldap.h into a control file. My concern would being able to use other attributes than uid and also be able to lookup user based on a filter
Example given : Let's have a control file called ldapuidattr, containing (|(uid=%1)(employeenumber=%1)), which is our filter to find the authenticating user in the LDAP dir. [where %1 will be replaced at runtime by username] another control file, defining the LDAP_UID attributes to be read (as THE identifier) e.g. employeenumber So that, when a user POP/IMAP it can use either uid ou employeenumber The value returned by the directory is then its employeenumber (if to be used by qmail for any reason) My question could be extended so that we could have one or several control files which permit to override the default attribute mapping (e.g. uniquemember instead dnmember ) I would appreciate any idea or remark David ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr
