[Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication
Running two Fedora 6 systems with all the latest updates as of a week ago. One system is the mail server (sendmail, dovecot), the other is the master (open)LDAP server with the mail server running a slave LDAP instance.
The problem I'm having is the client pop3 users are frequently being told their passwords aren't correct by their email clients (Outlook, Eudora). They try again, a couple times and eventually it works. I've seen it on my own account and when I test their accounts, occasionally it just doesn't take the password. I've only had this trouble since I implemented the LDAP authentication.
Checking through the server maillog, I see the following entry:
Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser,192.168.0.200): Child process died Apr 4 08:44:38 msi2 dovecot: auth(default): PAM: Child 14564 died with signal 6 Apr 4 08:44:38 msi2 dovecot: pop3-login: Aborted login: user=<secretuser>, method=PLAIN, rip=192.168.0.200, lip=192.168.0.11
This seems to point out that dovecot is the problem, but again, I didn't have this trouble until I implemented the LDAP authentication. So my question is, anyone know a solution? If not, anyone got a suggestion of where I should look for more clues or support? Or any suggestions at all?
Thanks for any help.
Following is the dovecot version and configuration
[root@msi2 ~]# dovecot --version 1.0.rc15 [root@msi2 ~]# dovecot -n # /etc/dovecot.conf protocols: pop3 listen: login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login mail_executable: /usr/libexec/dovecot/pop3 mail_plugin_dir: /usr/lib/dovecot/pop3 pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: passdb: driver: pam userdb: driver: passwd [root@msi2 ~]#
On 10.4.2007, at 19.48, Tim Alberts wrote:
Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../ libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf
== ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser, 192.168.0.200): Child process died .. passdb: driver: pam userdb: driver: passwd
So you're using pam_ldap and nss_ldap. See http://wiki.dovecot.org/ AuthDatabase/Passwd
So I'd suggest upgrading.
Timo Sirainen wrote:
On 10.4.2007, at 19.48, Tim Alberts wrote:
Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser,192.168.0.200): Child process died .. passdb: driver: pam userdb: driver: passwd
So you're using pam_ldap and nss_ldap. See http://wiki.dovecot.org/AuthDatabase/Passwd
So I'd suggest upgrading.
Thank you for the quick response. It doesn't look like the problem I'm having though? I don't have problems with people getting other peoples email. I have problems with the Assertion errors that I mentioned.
I do see that Fedora has updated packages available for Fedora so I'll upgrade and see what happens.
On 10.4.2007, at 20.31, Tim Alberts wrote:
Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot- auth: ../../../libraries/liblber/io.c:491: ber_get_next:
Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser, 192.168.0.200): Child process died .. passdb: driver: pam userdb: driver: passwdSo you're using pam_ldap and nss_ldap. See http://wiki.dovecot.org/ AuthDatabase/Passwd
So I'd suggest upgrading.
Thank you for the quick response. It doesn't look like the problem
I'm having though? I don't have problems with people getting other
peoples email. I have problems with the Assertion errors that I
mentioned.
No, but it could very well be caused by the same problem.
Timo Sirainen wrote:
On 10.4.2007, at 20.31, Tim Alberts wrote:
Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser,192.168.0.200): Child process died .. passdb: driver: pam userdb: driver: passwd
So you're using pam_ldap and nss_ldap. See http://wiki.dovecot.org/AuthDatabase/Passwd
So I'd suggest upgrading.
Thank you for the quick response. It doesn't look like the problem I'm having though? I don't have problems with people getting other peoples email. I have problems with the Assertion errors that I mentioned.
No, but it could very well be caused by the same problem.
Just to close off this thread....This seems to have fixed the problem.
I upgraded to a newer version and that alone made a huge difference.
However, I didn't make the configuration changes I was supposed to at
that time. The following day, I checked the server logs and saw the
problem happen a couple times within a second and that was it.
Significantly less, but it prompted me to read the dovecot website again
and make the recommended configuration changes.
Running for a couple days now, no problems and positive reports from the clients. Thank you for the resolution and best wishes to everyone.
participants (2)
-
Tim Alberts
-
Timo Sirainen