Tim Alberts
2007-Apr-10 16:48 UTC
[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 at msi2 ~]# dovecot --version
1.0.rc15
[root at 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 at msi2 ~]#
Timo Sirainen
2007-Apr-10 16:53 UTC
[Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication
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: passwdSo you're using pam_ldap and nss_ldap. See http://wiki.dovecot.org/ AuthDatabase/Passwd So I'd suggest upgrading. -------------- 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/20070410/817b7980/attachment.bin>
Tim Alberts
2007-Apr-10 17:31 UTC
[Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication
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.