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

Peter Guhl pgnews at netzwerkcenter.ch
Mon Dec 19 03:04:06 EST 2005


Hi all

Got it. The symptoms described (acct error) happened because I forgot
the "account"-definition in the pam configuration.

At my machine, a FreeBSD 5.4, the configuration as described in
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/pam-config.html
leads to a system where the password isn't verified at all. As long
as the username is OK any password is considered correct.

The pam-configuration-file on this particular system needs to be:
auth required pam_mysql.so...

"required" instead of "sufficient".

Regards
   Peter

PS: I tried "auxprop" too but that was even worse than saslauthd
+pam_mysql.

--
NetzWerk Center GmbH - http://www.netzwerkcenter.ch



More information about the Cyrus-sasl mailing list