[Dovecot] Multiple "mail" field in one LDAP account
k.proskurin at fxclub.org
Fri Oct 17 09:08:18 EEST 2008
Yes I understand - it must be a stupid question but could some one
explain it to me? Im aware of problems what lack of understanding may give.
Proskurin Kirill wrote:
> 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.
> Thunderbird send credentials:
> login: sysadmin at 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 at domain.off,172.16.1.80): pass search:
> base=dc=CAS scope=subtree
> filter=(&(objectClass=mailUser)(mail=sysadmin at domain.off))
> Info: auth(default): ldap(sysadmin at domain.off,172.16.1.80): result:
> Info: auth(default): client out: OK 1 user=sysadmin at domain.off
More information about the dovecot