On Mon, 2010-08-02 at 10:08 +0200, Denny Schierz wrote: > > pass_attrs = .., postAddress=domain > > > > Assuming v1.1+. This changes the username to u...@domain everywhere. > > thanks for helping :-) But, it doesn't work: > > ldap.conf: > > user_attrs = postalAddress=domain,homeDirectory=/imap/spool/%d/%1n/%n > user_filter = (&(objectClass=posixAccount)(uid=%n))
OK, there is a bug/missing feature that this doesn't work with user_attrs. > pass_attrs = postalAddress=domain, uid=user, userPassword=password > pass_filter = (&(objectClass=posixAccount)(uid=%n)) This would work, except I guess you're using auth binds and have also set auth_bind_userdn? Since according to your logs, it doesn't even attempt to do this passdb lookup from ldap.
