[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.
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 ?
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
Regards, Pascal
The trapper recommends today: fabaceae.0916820@localdomain.org
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 bugzilla
There 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@localdomain.org
On Wednesday 17 June 2009 20:00:40 Jean-Noel Chardron wrote:
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 ?
I'll build fedora 11 dovecot packages as soon as all sources are available. Fedora packages need dovecot, sieve and managesieve sources, but the last one is still missing... For rc4 Stephan Bosch said there will be no managesieve release because some problems. So I'm curious if there is plan to release managesieve for rc5 dovecot?
Regards, Michal Hlavinka
On Thursday 18 June 2009 07:29:13 Timo Sirainen wrote:
On Jun 18, 2009, at 1:24 AM, Michal Hlavinka wrote:
So I'm curious if there is plan to release managesieve for rc5 dovecot?
rc3's managesieve patch works just fine with rc5.
ok, thanks for the info... was this mentioned anywhere? Did I miss something?
On Jun 18, 2009, at 1:43 AM, Michal Hlavinka wrote:
On Thursday 18 June 2009 07:29:13 Timo Sirainen wrote:
On Jun 18, 2009, at 1:24 AM, Michal Hlavinka wrote:
So I'm curious if there is plan to release managesieve for rc5 dovecot?
rc3's managesieve patch works just fine with rc5.
ok, thanks for the info... was this mentioned anywhere? Did I miss
something?
In general if an old patch applies without errors to a new code base,
it works fine. I heard that it applies fine and runs fine from another
guy who tried it. And also in RC stage the code is only getting bug
fixes. It's much less likely that anything will break even if you
apply an older patch. My guess is that managesieve rc1 patch would
still apply just fine with rc5.
On Thursday 18 June 2009 07:50:22 Timo Sirainen wrote:
On Jun 18, 2009, at 1:43 AM, Michal Hlavinka wrote:
On Thursday 18 June 2009 07:29:13 Timo Sirainen wrote:
On Jun 18, 2009, at 1:24 AM, Michal Hlavinka wrote:
So I'm curious if there is plan to release managesieve for rc5 dovecot?
rc3's managesieve patch works just fine with rc5.
ok, thanks for the info... was this mentioned anywhere? Did I miss something?
In general if an old patch applies without errors to a new code base, it works fine. I heard that it applies fine and runs fine from another guy who tried it. And also in RC stage the code is only getting bug fixes. It's much less likely that anything will break even if you apply an older patch. My guess is that managesieve rc1 patch would still apply just fine with rc5.
for me: 1 of 22 hunks failed (trimming the patch was quite easy)
and error when building: error: macro "login_proxy_new" requires 6 arguments, but only 5 given it was missing ssl_flags argument
and proxy_input change (change in login-proxy.h : proxy_callback_t)
managesieve-proxy.c:305: warning: passing argument 1 of ‘proxy_input’ from
incompatible pointer type
managesieve-proxy.c:241: note: expected ‘struct istream *’ but argument is of
type ‘struct managesieve_client *’
managesieve-proxy.c:305: error: too few arguments to function ‘proxy_input’
Timo Sirainen schreef:
On Jun 18, 2009, at 1:24 AM, Michal Hlavinka wrote:
So I'm curious if there is plan to release managesieve for rc5 dovecot?
rc3's managesieve patch works just fine with rc5.
The patch applies, but ManageSieve and Sieve won't compile. I've just released new versions for rc5.
Regards,
-- Stephan Bosch stephan@rename-it.nl
Stephan Bosch wrote:
The patch applies, but ManageSieve and Sieve won't compile. I've just released new versions for rc5.
Sorry for offtopic - but could someone tell me why this patch not in a main stream of dovecot source?
-- Best regards, Proskurin Kirill
On Fri, 2009-06-19 at 15:44 +0400, Proskurin Kirill wrote:
Stephan Bosch wrote:
The patch applies, but ManageSieve and Sieve won't compile. I've just released new versions for rc5.
Sorry for offtopic - but could someone tell me why this patch not in a main stream of dovecot source?
With v2.0 you will no longer need to patch Dovecot. The Sieve stuff will still be a separate distribution though.
participants (7)
-
Jean-Noel Chardron
-
jean-Noël Chardron
-
Michal Hlavinka
-
Pascal Volk
-
Proskurin Kirill
-
Stephan Bosch
-
Timo Sirainen