I have set up sqwebmail on my system.  I can login fine as one user
id, but when I try a second it says "INVALID USER ID OR PASSWORD
Please try again."  When I check /var/log/messages I find
  Oct  5 11:29:30 gate authdaemond.plain: pam_unix2: pam_sm_authenticate() called
  Oct  5 11:29:30 gate authdaemond.plain: pam_unix2: username=[foobar]
  Oct  5 11:29:30 gate authdaemond.plain: pam_unix2: pam_sm_authenticate: PAM_SUCCESS
which seems like PAM was happy.  I can login as this second user using
slogin; only sqwebmail fails.

/usr/local/share/sqwebmail/authdaemonrc contains:
  authmodulelist="authpam"
  version="authdaemond.plain"
and /usr/local/share/sqwebmail/authmodulelist contains just
  authdaemon
and /etc/pam.d/webmail contains:
  #%PAM-1.0
  auth    required  pam_unix2.so debug
  account required  /lib/security/pam_unix2.so debug
  session required  /lib/security/pam_unix2.so debug trace

Where else can I look / what else can I do to debug this problem?

Could the problem be that the second user has non-alphanumeric
characters in her password?  Is there a shell quoting problem
somewhere in the pam path?

Reply via email to