Timo Sirainen wrote:
On Oct 16, 2008, at 12:09 PM, Proskurin Kirill wrote:
pass_attrs = mail=user,userPassword=password
You could remove the mail=user here and instead set auth_username_format=%Lu to make sure the username is lowercased.
Thanks Timo - seems this work! But now im don`t really understand how he lookup user name in LDAP now.
Thunder bird send credentials: login: sysadmin@domain.off pass: 123
Dovecot makes LDAP lookup and search user with such pass in userPassword and such login in were?
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): pass search: base=dc=CAS scope=subtree filter=(&(objectClass=mailUser)(mail=sysadmin@domain.off)) fields=userPassword
Info: auth(default): ldap(sysadmin@domain.off,172.16.1.80): result: userPassword(password)=<hidden>
Info: auth(default): client out: OK 1 user=sysadmin@domain.off
-- Best regards, Proskurin Kirill