[Dovecot] LDAP

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Tue Mar 18 16:48:33 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 17 Mar 2008, Wojtek Bogusz wrote:

> bind: dn=uid=wojtek,ou=Users,dc=frontline
> Mar 17 18:21:09 base dovecot: auth(default): client out: OK^I1^Iuser=wojtek
> Mar 17 18:21:09 base dovecot: auth(default): master in: REQUEST^I2^I19185^I1
> Mar 17 18:21:09 base dovecot: auth(default): ldap(wojtek,192.168.0.200): user 
> search: base=ou=Users,dc=frontline scope=subtree filter=
> (&(objectClass=posixAccount)(uid=wojtek)) fields=homeDirectory,uidNumber
> Mar 17 18:21:09 base dovecot: auth(default): ldap(wojtek,192.168.0.200): 
> Authenticated user not found

Dovecot differs between userdb and passdb.

It seems that passdb is running, but userdb is not.

How does your LDAP entry looks like? Should the user data be read from 
LDAP, BTW?

Does the LDAP filter mentioned in the logs return the results for the 
currently bound user, aka:

ldapsearch -D uid=wojtek,ou=Users,dc=frontline -W \
- -b ou=Users,dc=frontline \
'(&(objectClass=posixAccount)(uid=wojtek))' homeDirectory uidNumber

displays home and uid?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH39ZDVJMDrex4hCIRAjPDAJ4vOFH75Gyu7Z637vI5JBsUbYk7oQCePrKd
zcoK1oSNlS6tV5cd3z+KiTE=
=kuut
-----END PGP SIGNATURE-----


More information about the dovecot mailing list