Le 8 déc. 05 à 17:55, Thomas Hummel a écrit :
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. This filter with ldapsearch command return my uid and pas crypt
password ...
I've used an other method : userdb static{} and passdb pam {} and pam
with libpam-ldap (ldaps, etc ...)
Merci Thomas pour ton aide.
Cyril Feraudet
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,gidN umber=userdb_gidNote :
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@pasteur.fr | Pôle informatique - systèmes et réseau