On Friday 29 June 2007 18:05, Eddy Ilg wrote:
> thanks to this list I now have postfix talking to saslauthd.
> My saslauthd shall authenticate via pam_mysql. Therefore I created the
> file /etc/pam.d/smtp as follows:
> auth required pam_mysql.so user=maildaemon host=xy passwd=xxxxxxxx
> db=dexter-sys table=mbs usercolumn=username passwdcolumn=password crypt=0
The accout-Stack is missing. saslauthd uses auth and account.
> The query is actually run on server xy (checked the mysql log) and it is
> correct. But I keep getting the following in /var/log/auth.log:
> Jun 29 18:02:36 saslauthd: rel_accept_lock : released accept lock
> Jun 29 18:02:36 saslauthd: get_accept_lock : acquired accept lock
> Jun 29 18:02:36 saslauthd: (pam_unix) could not identify user
> (from getpwnam(mail-client-1))
> Jun 29 18:02:36 saslauthd: DEBUG: auth_pam: pam_acct_mgmt failed:
> User not known to the underlying authentication module
> Jun 29 18:02:37 saslauthd: do_auth : auth failure:
> [user=mail-client-1] [service=smtp] [realm=] [mech=pam] [reason=PAM acct
> The thing I'm most concerned about is the pam_unix line. Where does that
> come from?
> Any ideas what I'm missing? How could I turn on more sasl/pam debugging?