I have set up dovecot to use ldap authentication, but it only results in dovecot crashing without any error message that would indicate why this is the case. I have spent *many* hours trying to fix this problem, but not found any solution as to why it should crash. maillog: Aug 15 10:05:08 era dovecot: Dovecot starting up Aug 15 10:05:09 era dovecot: Auth process died too early - shutting down Aug 15 10:05:09 era dovecot: child 20833 (auth) killed with signal 11 Aug 15 10:05:09 era imap-login: fd_send(-1) failed: Broken pipe Settings to indicate ldap in dovecot.conf: auth_userdb = ldap /etc/dovecot-ldap.conf auth_passdb = ldap /etc/dovecot-ldap.conf Basically, the settings in dovecot-ldap.conf is: hosts = localhost:389 dn = cn=dovecot,ou=servers,dc=remiss,dc=org dnpass = nada base = dc=remiss,dc=org deref = never scope = subtree user_attrs = uid,homeDirectory,,,uidNumber,gidNumber user_filter = (&(objectClass=posixAccount)(uid=%u)) pass_attrs = uid,userPassword using ldapsearch -x -D "cn=dovecot,ou=servers,dc=remiss,dc=org" -w nada .... is successful. Therefor I am wondering what in the world that causes "Auth process" to die too early. Output of strace -f dovecot -F is available from http://remiss.org/download/log Pid of auth-process here is 23286. Any help is appreciated. Thanks, Roger.
On 15.8.2004, at 17:10, Roger Bystrom wrote:> I have set up dovecot to use ldap authentication, but it only results > in > dovecot crashing without any error message that would indicate why this > is the case...> Output of strace -f dovecot -F is available from > http://remiss.org/download/logWell, I'd try linking dovecot-auth with less libraries if you only need LDAP, they might be trying to use conflicting library versions. Especially don't link with sasl2 library, it doesn't work in any case and looks like it's the last one that's trying to do something before crashing. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040815/6564dbe6/attachment-0001.bin>
Timo Sirainen wrote:> On 15.8.2004, at 17:10, Roger Bystrom wrote: > >> I have set up dovecot to use ldap authentication, but it only results in >> dovecot crashing without any error message that would indicate why this >> is the case. > > .. > >> Output of strace -f dovecot -F is available from >> http://remiss.org/download/log > > > Well, I'd try linking dovecot-auth with less libraries if you only > need LDAP, they might be trying to use conflicting library versions. > Especially don't link with sasl2 library, it doesn't work in any case > and looks like it's the last one that's trying to do something before > crashing.Thanks, that solved the problem. :)
Seemingly Similar Threads
- dovecot-auth: Aug 04 10:48:29 Fatal: Unknown userdb type 'mysql'
- FW: dovecot-auth: Aug 04 10:48:29 Fatal: Unknown userdb type'mysql'
- CVS compile problem on asterisk
- Winetricks deleted most of my hard drive
- dovecot 2.0.13 fd_send(imap, 15) failed, dovecot 1.2.16 fd_send(10) failed