pam_mysql + saslauthd Проблема со связкой
Добавлено: 2009-07-13 23:37:05
Возникла проблема при подключении авторизации через
pam_mysql
вот так выглядит /etc/pam.conf
а вот что пишет в логах
насколько я правильно понял то мы имеем лишнюю кавычку в выборке WHERE = 'evil'' но что с этим делать?
pam_mysql
вот так выглядит /etc/pam.conf
Код: Выделить всё
evil@demosoft:/var/log# cat /etc/pam.conf
smtp auth sufficient /usr/local/lib/pam_mysql.so user=mailer_user passwd=mailer_passwd db=mail
table=users usercolumn=login passwdcolumn=password crypt=1
smtp account sufficient /usr/local/lib/pam_mysql.so user=mailer_user passwd=mailer_passwd db=mail
table=users usercolumn=login passwdcolumn=password crypt=1
Код: Выделить всё
Jul 13 23:01:28 demosoft saslauthd[19599]: pam_mysql - MySQL error(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)
Jul 13 23:01:28 demosoft saslauthd[19599]: pam_mysql - MySQL error (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)
Jul 13 23:14:55 demosoft saslauthd[19990]: pam_mysql - MySQL error(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)
Jul 13 23:14:55 demosoft saslauthd[19990]: pam_mysql - MySQL error (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)
Jul 13 23:20:07 demosoft saslauthd[20057]: pam_mysql - MySQL error(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)
Jul 13 23:20:07 demosoft saslauthd[20057]: pam_mysql - MySQL error (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM WHERE = 'evil'' at line 1)