Closed jjschwarz closed 6 months ago
Code 17 is PAM_CRED_ERR.
Not sure, what this means and what can go wrong here: https://github.com/mar10/wsgidav/blob/master/wsgidav/dc/pam_dc.py#L54
Maybe encoding problems with the password?
So that is the part that has me stumped...if the password was the issue I would expect the PAM on the system side to fail, but as you can see from the log snippets the actual /var/log/secure side shows that the PAM authentication worked....so I am at a loss.
On Dec 21, 2023, at 3:58 PM, Martin Wendt @.***> wrote:
Code 17 is PAM_CRED_ERR.
Not sure, what this means and what can go wrong here: https://github.com/mar10/wsgidav/blob/master/wsgidav/dc/pam_dc.py#L54
Maybe encoding problems with the password?
— Reply to this email directly, view it on GitHub https://github.com/mar10/wsgidav/issues/309#issuecomment-1866922515, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4N5XGKM45NPWBODNH3YKSPFTAVCNFSM6AAAAABA3JB2ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWHEZDENJRGU. You are receiving this because you authored the thread.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug Attempting to use PAM to have the user authenticate with Kerberos. The pamtester command shows everything working, however when using the software I see a good authentication in the secure log file but a failure in the software for the same authentication
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect a valid pam login to function
Screenshots, Log-Files, Stacktrace From /var/log/secure:
From wsgidav:
Environment:
Which WSGI server was used (cheroot, ext-wsgiutils, gevent, gunicorn, paste, uvicorn, wsgiref, ...)? cheroot
Which WebDAV client was used (MS File Explorer, MS Office, macOS Finder, WinSCP, Windows, file mapping, ...)? Firefox
Additional context