[Dovecot] prefetch userdb on 1.0.alpha4
Feraudet Cyril
cyril at feraudet.com
Thu Dec 8 17:00:00 EET 2005
Hum sorry ...
I thought that prefetch function kept all password for all user, not
only for one ...
but with "user_filter = (&(objectClass=boursoramaMailAccount)(uid=%u)
(mailInternalAllowedProtocol=imap))" instead of "user_filter = (&
(objectClass=boursoramaMailAccount)(mailInternalAllowedProtocol=imap))"
I got :
==> /var/log/dovecot/dovecot.log <==
dovecot: Dec 08 15:53:21 Error: auth(default): prefetch(mylogin,
10.3.245.xxx): passdb didn't return userdb entries
dovecot: Dec 08 15:53:21 Error: auth(default): userdb(mylogin,
10.3.245.xxx): user not found from userdb
==> /var/log/dovecot/info.log <==
dovecot: Dec 08 15:53:21 Info: auth(default): client in: AUTH
1 PLAIN service=IMAP secured lip=10.2.xxx.xxx
rip=10.3.245.xxx resp=AGNmZXxxxxxlAEZQU2xza2Vy
dovecot: Dec 08 15:53:21 Info: auth(default): ldap(mylogin,
10.3.245.xxx): base=dc=boursorama,dc=fr scope=subtree filter=(&
(objectClass=boursoramaMailAccount)(uid= mylogin)
(mailInternalAllowedProtocol=imap)) fields=uid,userPassword
dovecot: Dec 08 15:53:21 Info: auth(default): ldap(mylogin,
10.3.245.xxx): uid(user)= mylogin userPassword(password)={CRYPT}
NnSwcxxxxxxxx
dovecot: Dec 08 15:53:21 Info: auth(default): client out: OK
1 user= mylogin
dovecot: Dec 08 15:53:21 Info: auth(default): master in:
REQUEST 4 22977 1
dovecot: Dec 08 15:53:21 Info: auth(default): master out:
NOTFOUND 4
dovecot: Dec 08 15:53:21 Info: imap-login: Internal login failure:
user=< mylogin >, method=PLAIN, rip=10.3.245.xxx, lip=10.2.xxx.xxx, TLS
A idea ?
Thanks,
Cyril Feraudet
Le 8 déc. 05 à 14:54, Feraudet Cyril a écrit :
> Hi all,
>
> I've a problem with prefetch userdb function on 1.0.alpha4 ?
>
> I get this :
>
> Error: auth(default): ldap(mylogin,10.3.245.xxx): Multiple password
> replies
> Info: auth(default): ldap(mylogin,10.3.245.xxx):
> base=dc=boursorama,dc=fr scope=subtree filter=(&(objectClass=
> boursoramaMailAccount)(mailInternalAllowedProtocol=imap))
> fields=uid,userPassword
>
> An ldapsearch with the same filter give to me only one reply ...
>
> Have you an idea ?
>
> Thanks,
>
> Cyril Feraudet
>
> parts of my dovecot.conf :
> ----------------------------------
>
> protocol imap {
> }
>
> protocol pop3 {
> pop3_uidl_format = %v.%u
> }
>
> auth_debug = yes
> auth default {
> mechanisms = plain
>
> passdb ldap {
> args = /etc/dovecot/dovecot-ldap.conf
> }
>
> userdb prefetch {
> }
>
> user = root
> }
>
> parts of my dovecot-ldap.conf :
> -----------------------------------------
>
> user_attrs = uid,,,,,
> user_filter = (&(objectClass=boursoramaMailAccount)(uid=%u)
> (mailInternalAllowedProtocol=imap))
> pass_attrs = uid,userPassword
> pass_filter = (&(objectClass=boursoramaMailAccount)
> (mailInternalAllowedProtocol=imap))
> default_pass_scheme = CRYPT
>
>
>
More information about the dovecot
mailing list