summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 5347c1cd45..cbdd8f3f06 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -553,7 +553,7 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain,
cc = generate_krb5_ccache(state->mem_ctx,
state->request->data.auth.krb5_cc_type,
- state->request->data.auth.uid,
+ uid,
&user_ccache_file);
if (cc == NULL) {
return NT_STATUS_NO_MEMORY;