jean-Noël Chardron
2009-Jun-17 08:24 UTC
[Dovecot] trouble to start dovecot when ldap enabled
Hello
I need help
on a fedora release 11 (Leonidas) when I start the dovecot process I get
an error :
Jun 17 10:15:24 aragon dovecot: Dovecot v1.2.rc3 starting up (core dumps
disabled)
Jun 17 10:15:24 aragon dovecot: Fatal: auth(default): Support not
compiled in for passdb driver 'ldap'
Jun 17 10:15:24 aragon dovecot: Fatal: Auth process died too early -
shutting down
I installed :
Paquetages install?s
dovecot.x86_64 1:1.2-0.rc3.1.fc11
installed
dovecot-ldap.x86_64 1:1.2-0.rc3.1.fc11
installed
# dovecot --version
1.2.rc3
# dovecot -n
# 1.2.rc3: /etc/dovecot.conf
# OS: Linux 2.6.29.4-167.fc11.x86_64 x86_64 Fedora release 11 (Leonidas)
ext3
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_uid: vmail
mail_gid: vmail
mail_location: maildir:/home/vmail/%u/
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default): autocreate
mail_plugins(imap): autocreate
mail_plugins(pop3):
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
auth default:
passdb:
driver: passwd-file
args: /etc/passwd
passdb:
driver: ldap
args: /etc/dovecot-ldap.conf
userdb:
driver: ldap
args: uid=vmail gid=vmail
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
plugin:
sieve: ~/.dovecot.sieve
sieve_dir: ~/sieve
# cat /etc/dovecot-ldap.conf
#
hosts = localhost
base = dc=ad,dc=dr15,dc=cnrs,dc=fr
ldap_version = 3
auth_bind = yes
scope = subtree
#
user_attrs = uid=home=/home/vmail/%L$, =gid=vmail,=uid=vmail
user_filter = (&(objectclass=person)(|(mail=%u)(uid=%u)))
pass_attrs = uid=user
pass_filter = (&(objectclass=person)(uid=%u))
user_global_uid = dovecot
user_global_gid = mail
if I launch strace :
#strace -f dovecot -F
[...]
[pid 12796] open("/usr/lib64/dovecot/auth/libauthdb_ldap.so",
O_RDONLY) = 6
[...]
[pid 12796] open("/usr/lib64/libldap-2.4.so.2", O_RDONLY) = 6
[...]
--
Jean-Noel Chardron
On Wed, 2009-06-17 at 10:24 +0200, jean-No?l Chardron wrote:> Jun 17 10:15:24 aragon dovecot: Dovecot v1.2.rc3 starting up (core dumps > disabled) > Jun 17 10:15:24 aragon dovecot: Fatal: auth(default): Support not > compiled in for passdb driver 'ldap'This is fixed by rc5. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090617/dbe699b9/attachment-0002.bin>
Jean-Noel Chardron
2009-Jun-17 18:00 UTC
[Dovecot] trouble to start dovecot when ldap enabled
Timo Sirainen a ?crit :> On Wed, 2009-06-17 at 10:24 +0200, jean-No?l Chardron wrote: > >> Jun 17 10:15:24 aragon dovecot: Dovecot v1.2.rc3 starting up (core dumps >> disabled) >> Jun 17 10:15:24 aragon dovecot: Fatal: auth(default): Support not >> compiled in for passdb driver 'ldap' >> > > This is fixed by rc5. > >Where can I get the rc5 ?
Jean-Noel Chardron
2009-Jun-17 20:05 UTC
[Dovecot] trouble to start dovecot when ldap enabled
Pascal Volk a ?crit :> On 06/17/2009 08:00 PM Jean-Noel Chardron wrote: > >> Timo Sirainen a ?crit : >> >>> This is fixed by rc5. >>> >> Where can I get the rc5 ? >> > > >From http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc5.tar.gz > More information at: http://dovecot.org/download.html > >thanks pascal but i mean where to get it in rpm package for fedora 11 to avoid to compile by myself and to stay with the particularity of the distribution. I filled a bug thread in fedora bugzilla> Regards, > Pascal >
On 06/17/2009 10:05 PM Jean-Noel Chardron wrote:> Pascal Volk a ?crit : >> >From http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc5.tar.gz >> More information at: http://dovecot.org/download.html >> > thanks pascal but i mean where to get it in rpm package for fedora 11 to > avoid to compile by myself and to stay with the particularity of the > distribution. > I filled a bug thread in fedora bugzillaThere are v1.2.rc5 RPMs available at ATrpms: http://atrpms.net/dist/f11/dovecot-1.2/ But remember: The rc stands for Release Candidate. ;-) Regards, Pascal -- The trapper recommends today: f007ba11.0916822 at localdomain.org