Please explain the following dovecot (2.2.13) behaviour: I run dovecot
in ldap auth debug mode and log file excerpt follows:
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): bind search:
base=o=tree,dc=do,dc=ma,dc=in
filter=(&(objectClass=MailAccount)(accountActive=TRUE)(mail=user at domain))
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): result: mail=user at domain;
mail unused
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): result: mail=user at domain
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug: client passdb
out: OK 24 user=user at domain
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): user search:
base=o=tree,dc=do,dc=ma,dc=in scope=subtree
filter=(&(objectClass=MailAccount)(accountActive=TRUE)(mail=user at domain))
fields=mail,quota,mailbox
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): result:
mailbox=maildir:/mail/domain/user/mail/ quota=1G mail=user at domain;
mail,mailbox,quota unused
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug:
ldap(user at domain,pcip,<bdKvA+P5HQCbnmFI>): result:
mailbox=maildir:/mail/domain/user/mail/ quota=1G mail=user at domain
2014-05-21T08:22:01+02:00 dovecot/ip dovecot: auth: Debug: master userdb
out: USER 3606315009 user at domain quota_rule=*:bytes=1G
mail=maildir:/mail/domain/user/mail/ home=/mail/domain/user
Question: why are there two ldap result log lines while the first line
shows unused attributes and the second doesn't. Does the first occurence
show some code being excessive somehow?
Thanks.
MU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3354 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20140521/7a7cecb1/attachment-0001.p7s>