I changed LDAP_UID definition on qmail-ldap.h file. From this moment,
qmail-ldap used mail atribute instead of uid to refer users, and works
perfectly with auth_smtp. Only modify the define line to this:
#define LDAP_UID "mail"
Harald Finn�s wrote:
I'm using the controls patch, and have decided to reference my users
with the mail attribute rather that uid.
Today I've been having a hard time getting SMTPAUTH to work, and I
just figured why; auth_smtp want to use uid for it's searches.
The question then is how I can get auth_smtp to use a different
attribute than uid?
Regards,
Harald
--
------------------------------------------------------------------------
*Jos� Javier Sianes Ruiz*
*DSF Almariya
AIE Tecnolog�a Cajamar*
Telf: 950.18.03.50 - ext. 2333
Movil: 637.72.72.55
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>