Hello.
There are a couple of steps here.
Search your system for dovecot-ldap.conf. You are using an RPM, so its location will vary depending on the packager. Copy this file to /etc.
Edit /etc/dovecot-ldap.conf with the appropriate settings.
Edit /etv/dovecot.conf as follows. find the section that begins "auth default {" Comment out the "passdb pam {" section Uncomment the "passdb ldap {" section set the "args = "line to the path of dovecot-ldap.conf i.e. "args = /etc/dovecot-ldap.conf"
Uncomment the "userdb ldap {" section set the "args =" line to the path of dovecot-ldap.conf i.e. "args = /etc/dovecot-ldap.conf"
Once you have it working, you can reduce the number of LDAP queries per login from 2 to 1 by using "userdb prefetch".
Can an OpenLdap Guru contact me off-list? I need some guidance on switching away from a BDB backend, and OpenLDAP stability in general.
Thanks and Good Luck,
Ejay Hire
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of kleiton@pcs.com.br Sent: Tuesday, October 24, 2006 8:28 AM To: dovecot@dovecot.org Cc: suporte@pcs.com.br Subject: [Dovecot] LDAP Dovecot Configuration Problem
Good Morning
I have a problem with my dovecot configuration, somepeople can help-me sending me a example of a dovecot with ldap configuration ?
dovecot.conf slapd.conf
I'm have - dovecot-1.0-0.beta8.2.fc5 - kernel-smp-2.6.17-1.2157_FC5 - openldap-2.3.19-4 - Fedora Core 5
Today we connect using PAM but we like connect by LDAP because we have some problems.
Thanks !