[Dovecot] prefetch userdb on 1.0.alpha4
Thomas Hummel
hummel at pasteur.fr
Thu Dec 8 18:55:00 EET 2005
On Thu, Dec 08, 2005 at 04:00:00PM +0100, Feraudet Cyril wrote:
> 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
> A idea ?
It seems you don't make passdb return user attributes.
Let's suppose your user and pass LDAP attributes are on the same LDAP
tree leave, you'd do it by setting pass_attrs like below in
dovecot-ldap.conf:
pass_attrs = uid,userPassword,homeDirectory=userdb_home,,,uidNumber=userdb_uid,gidNumber=userdb_gid
Note :
userdb_xxx are keys in the hash table where your user attributes will
be recorded and then passed to imap-login as extra_fields of the
auth_request
--
Thomas Hummel | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau
More information about the dovecot
mailing list