[Dovecot] problems with ldap auth
I'm trying Dovecot v1.0-test43 with ldap authentication but can't seem to make it work. I'm getting the following errors in the log: dovecot: Sep 16 19:50:09 Info: Dovecot v1.0-test43 starting up dovecot: Sep 16 19:50:10 Error: Auth process died too early - shutting down
What can I do to see where the error is? I have this configuration working with dovecot 0.99.xx . And if I replace the ldap authentication scheme with another one it starts up right. Following some past mailing list sugestions I've also tried removing most of the auth modules from the compilation but it made no diference.
You can see my configuration files in: http://iluvatar.portugalmail.pt/dovecot/dovecot.conf http://iluvatar.portugalmail.pt/dovecot/dovecot-ldap.conf
(I've intalled the binaries in /opt/dovecot)
Don't know how much more data I can provide to help finding out what the problem is here (I think this won't be enough unless there's a known bug).
Thanks,
Nuno Lopes
On 16.9.2004, at 22:29, Nuno Lopes wrote:
I'm trying Dovecot v1.0-test43 with ldap authentication but can't seem to make it work. I'm getting the following errors in the log: dovecot: Sep 16 19:50:09 Info: Dovecot v1.0-test43 starting up dovecot: Sep 16 19:50:10 Error: Auth process died too early - shutting down
Assuming Linux:
strace -f dovecot 2>log
and send the log. It should never die without an explanation.
I'm trying Dovecot v1.0-stable with ldap authentication but can't seem to make it work. I'm getting the following errors in the log:
May 10 11:49:07 <mail.info> 172.16.2.22 dovecot: Dovecot v1.0-stable starting up May 10 11:49:08 <mail.err> 172.16.2.22 dovecot: Auth process died too early - shutting down May 10 11:49:08 <mail.err> 172.16.2.22 dovecot: child 50167 (auth) killed with signal 11
The system is: FreeBSD mailhub-mps 5.2.1-RELEASE-p12
Configure options is
env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
--disable-ipv6
--enable-debug
--with-ldap
--with-pop3d
--without-pam
Suumary report of Configure script is: Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll Building with SSL support ........... : yes (OpenSSL) Building with IPv6 support .......... : no Building with pop3 server ........... : yes Building with user database modules . : static passwd passwd-file checkpassword ldap (modules) Building with password lookup modules : passwd passwd-file checkpassword ldap (modules)
my Configs: ++++dovecot.conf+++++ base_dir = /var/run/dovecot protocols = imap pop3 listen = 172.16.2.22 ssl_disable = yes login_dir = /var/run/dovecot/login login_user = dovecot max_mail_processes = 1024 verbose_proctitle = yes first_valid_uid = 1000 last_valid_uid = 0 first_valid_gid = 1000 last_valid_gid = 0 mail_max_keyword_length = 50 mbox_lock_timeout = 300 umask = 0077 protocol imap { login_executable = /usr/local/libexec/dovecot/imap-login mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap imap_max_line_length = 65536 } protocol pop3 { login_executable = /usr/local/libexec/dovecot/pop3-login mail_executable = /usr/local/libexec/dovecot/pop3 } auth_executable = /usr/local/libexec/dovecot/dovecot-auth auth_process_size = 256 auth_cache_size = 0 auth_cache_ttl = 600 auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth_verbose = yes auth_debug = yes auth default { mechanisms = plain passdb = ldap /usr/local/etc/dovecot.ldap userdb = ldap /usr/local/etc/dovecot.ldap user = igorx }
+++dovecot.ldap+++ hosts = 172.16.2.1 dn = cn=igorx,ou=guvs,o=iriit dnpass = ******* ldap_version = 3 base = o=iriit deref = never scope = subtree user_attrs = uid,homeDirectory,,,uidNumber,gidNumber user_filter = (&(objectClass=user)(uid=%u)) pass_attrs = uid,userPassword pass_filter = (&(objectClass=posixAccount)(uid=%u)) default_pass_scheme = CRYPT user_global_uid = 1000 user_global_gid = 1000
Output of "truss -eafo aa dovecot" placed to
http://www.iriit.irk.ru/rvs/aa or http://www.irgups.ru/rvs/aa
LDAP it is install correctly, works perfectly. Data reading is made from NOVELL NDS.
Best regards, Igor mailto:igorx@iriit.irk.ru
participants (3)
-
Igor V Rozinov
-
Nuno Lopes
-
Timo Sirainen