saslauthd -a pam, pam_mysql: acct error if acoount is not present in /etc/passwd

Peter Guhl pgnews at netzwerkcenter.ch
Fri Dec 16 09:52:20 EST 2005


Hello all

If I add the mailaccount-username authentication works (password is the
one from the db and not the one from passwd).

The output is already described in the archives of this list.

Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - SELECT pw FROM
****** WHERE uname = '******'
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_sql_log()
called.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_sql_log()
returning 0.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql -
pam_mysql_check_passwd() returning 0.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql -
pam_sm_authenticate() returning 0.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql -
pam_mysql_release_ctx() called.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql -
pam_mysql_destroy_ctx() called.
Dec 16 11:10:35 pacman saslauthd[9264]: pam_mysql - pam_mysql_close_db()
called.
Dec 16 11:10:35 pacman saslauthd[9264]: do_auth         : auth failure:
[user=mail0264] [service=imap] [realm=] [mech=pam] [reason=PAM acct
error]

Any idea what I did wrong?

I already testet using another pam-module but the setup of pam_mysql
seems to be OK.

Regards
   Peter Guhl



More information about the Cyrus-sasl mailing list