summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_pam_auth.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29Fix bug #7589 - ntlm_auth fails to use cached credentials.Jeremy Allison1-7/+5
In handling the WINBINDD_PAM_AUTH message winbindd canonicalizes a *copy* of the mapped username, but fails to canonicalize the actual username sent to the backend domain process. When "winbind default domain" is set this can lead to credentials being cached with an index of user: user, not DOMAIN\user. All other code paths that use canonicalize_username() (WINBINDD_PAM_CHAUTHTOK, WINBINDD_PAM_LOGOFF) correctly canonicalize the data sent to the backend. All calls the can cause credentials to be looked up (PAM_CHAUTHTOK etc.) correctly call canonicalize_username() to create the credential lookup key. Jeremy.
2010-04-19s3: Move the in-memory ccache to the parentVolker Lendecke1-1/+21
None of this blocks, so there is no reason to keep this in a winbind child process
2010-04-19s3: Convert WINBINDD_PAM_AUTH to the new async APIVolker Lendecke1-0/+125