Bug#758660: sasl2-bin: saslauthd "Memory buffer error" with mysql backend

2014-12-05 Thread Ondrej Zary
This bug is biting people repeatedly for several years. For me, it causes openvpn (with libpam-mysql) to fail after some time, with these error messages in log: ovpn-openvpn[27343]: a.b.c.d:1194 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/lib/openvpn/open

Bug#758660: sasl2-bin: saslauthd "Memory buffer error" with mysql backend

2014-11-20 Thread Jesse Rhodes
tags 758660 patch reassign 758660 pam-mysql Hello, I had this issue as well. I rebuilt pam-mysql with the very brief patch referenced in http://sourceforge.net/p/pam-mysql/bugs/27/#c2aa and saslauthd hasn't locked up in 2 weeks. Since that link is dated 2009 and the last message asks if the proj

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-21 Thread Martin Sebald
Hello Dan, outch, this did not work. I just noticed that the server was completly out of resources. I checked and found hundrets or better even thousands of saslauthd threads. I had to pkill these tasks, now the server is recovering. I put THREADS=5 back into config and restart saslauthd every ho

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-20 Thread Dan White
On 08/20/14 21:58 +0200, Martin Sebald wrote: So does the work around work anyway? It seems that I not fully understand what is going on. Anyway, if I restart saslauthd after the problem is there everything works right away like there was never a problem. Yes, it should, since saslauthd spawns

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-20 Thread Martin Sebald
Hello Dan, here you go: /etc/postfix/sasl/smtpd.conf pwcheck_method: saslauthd mech_list: plain login allow_plaintext: true auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: xxx sql_passwd: xxx sql_database: xxx sql_select: select password from mail_user where email = '%u@%

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-20 Thread Dan White
On 08/20/14 20:47 +0200, Martin Sebald wrote: /etc/default/saslauthd: START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="pam" MECH_OPTIONS="" #THREADS=5 THREADS=0 OPTIONS="-r -c -m /var/spool/postfix/var/run/saslauthd" (I just changed threads from 5 to 0, thank you for the

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-20 Thread Martin Sebald
Hello Dan, thank you for the reply. Here you are: /etc/default/saslauthd: START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="pam" MECH_OPTIONS="" #THREADS=5 THREADS=0 OPTIONS="-r -c -m /var/spool/postfix/var/run/saslauthd" (I just changed threads from 5 to 0, thank you for

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-20 Thread Dan White
On 08/19/14 20:00 +0200, Martin Sebald wrote: Package: sasl2-bin Version: 2.1.26.dfsg1-11 Severity: important Hi, the saslauthd fails here on our mail server for weeks now. It seems that after a certain amount of login (successful and tries) a limit is reached and the daemon silently (!) fails

Bug#758660: sasl2-bin: saslauthd "Memory buffer error"

2014-08-19 Thread Martin Sebald
Package: sasl2-bin Version: 2.1.26.dfsg1-11 Severity: important Hi, the saslauthd fails here on our mail server for weeks now. It seems that after a certain amount of login (successful and tries) a limit is reached and the daemon silently (!) fails - people cannot log into SASL-Auth anymore. I s