summaryrefslogtreecommitdiff
path: root/source4/heimdal
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-29 12:44:00 -0700
committerJeremy Allison <jra@samba.org>2010-07-29 12:44:00 -0700
commit4f4303048260ca19a5feef6b9338add1a19fb53c (patch)
tree8e2854192835290f16ff5810dcf79b96a5b3a058 /source4/heimdal
parente8d386704e4c126b979ffe6c8b588fb311cc2e34 (diff)
downloadsamba-4f4303048260ca19a5feef6b9338add1a19fb53c.tar.gz
samba-4f4303048260ca19a5feef6b9338add1a19fb53c.tar.bz2
samba-4f4303048260ca19a5feef6b9338add1a19fb53c.zip
Fix bug #7589 - ntlm_auth fails to use cached credentials.
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.
Diffstat (limited to 'source4/heimdal')
0 files changed, 0 insertions, 0 deletions