Hello,
I've set up a Cyrus/Postfix/MySQL/Webcyradmin-Host about a year ago. And
it works almost perfect. I just have a little problem.
Sometimes users of the webmail(Squirrelmail) can't login or are locked
out of their session (they have just to try again or reauthenticate). In
this case I got the following log:
saslauthd[29777]: DEBUG: auth_pam: pam_authenticate failed: Permission
denied
saslauthd[29777]: do_auth : auth failure: [user=aebi.chaosnet]
[service=imap] [realm=] [mech=pam] [reason=PAM auth error]
I turned one some verbosity in SASL and MySQL. Then I can see that this
seems only to happen if there are two requests at the same time (the
first ist OK but the second gets refused).
Can this be true? Is there any way to fix this or am I completely wrong?
Tanks
Philippe
The first request:
Aug 23 13:34:28 vritzII saslauthd[29776]: get_accept_lock : acquired
accept lock
Aug 23 13:34:28 vritzII saslauthd[29776]: rel_accept_lock : released
accept lock
Aug 23 13:34:28 vritzII saslauthd[29776]: do_auth : auth success:
[user=martin.chaosnet] [service=imap] [realm=] [mech=pam]
Aug 23 13:34:28 vritzII saslauthd[29776]: do_request : response: OK
The second request:
Aug 23 13:34:27 vritzII saslauthd[29777]: get_accept_lock : acquired
accept lock
Aug 23 13:34:28 vritzII saslauthd[29777]: rel_accept_lock : released
accept lock
Aug 23 13:34:28 vritzII saslauthd[29777]: DEBUG: auth_pam:
pam_authenticate failed: Permission denied
Aug 23 13:34:28 vritzII saslauthd[29777]: do_auth : auth failure:
[user=martin.chaosnet] [service=imap] [realm=] [mech=pam] [reason=PAM
auth error]
The MySQL-log;
050823 13:34:28 1116 Connect [EMAIL PROTECTED] on mail
1116 Init DB mail
1116 Query SELECT password FROM accountuser
WHERE username='martin.chaosnet'
1116 Quit
1117 Connect [EMAIL PROTECTED] on mail
1117 Init DB mail
1117 Query SELECT password FROM accountuser
WHERE username='martin.chaosnet'
1117 Query insert into log (msg, user, host,
pid, time) values('AUTH SUCCESSFUL', 'martin.chaosnet', '', '29776', NOW())
1117 Quit
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm