[Dovecot] userdb prefetch problem..
Mike
cbrmike at gmail.com
Mon Jul 10 20:18:51 EEST 2006
I have a setup that I'm working on migrating to Dovecot for thousands of
users across a few dozen domains.. All users are authed from LDAP.. In
LDAP, each user has a unique uidNumber, and varying gidNumber (for use
in other applications)
As far as mail storage, the entire Maildir structure is owned by
UID/GID: vmail/vmail
So, the uidNumber/gidNumber from LDAP is not needed. global uid/gid is
set to 'vmail'
When using "passdb ldap" and "userdb ldap" both pointing to
dovecot-ldap.conf, and removing the "uidNumber=uid"..etc from the
"_attrs" lines, this works just fine.
I would like to use "userdb prefetch" to use one less ldap query, but
the uid/gid stuff is giving me some problems.
The appropriate line in - dovecot-ldap.conf:
pass_attrs
I get the following erros in the log:
....
....
dovecot: auth(default): prefetch(user at domain.com,127.0.0.1): userdb_uid not
returned
dovecot: auth(default): prefetch(user at domain.com,127.0.0.1): userdb_gid not
returned
dovecot: auth(default): userdb(user at domain.com,127.0.0.1): user not found
from userdb
dovecot: auth(default): master out: NOTFOUND 1
dovecot: pop3-login: Internal login failure: user=<user at domain.com>,
method=PLAIN, rip7.0.0.1, lip7.0.0.1, secured
Any help is appreciated!
-Mike
FreeBSD 6-1-RELEASE
OpenLDAP 2.3
Dovecot 1.0rc2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20060710/7062fe2d/attachment.htm
More information about the dovecot
mailing list