s3: Use the right uid winbindd_raw_kerberos_login()
authorVolker Lendecke <vl@samba.org>
Sat, 11 Dec 2010 09:29:57 +0000 (10:29 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 19 Dec 2010 22:25:06 +0000 (23:25 +0100)
source3/winbindd/winbindd_pam.c

index 5347c1cd453df34cb7d3ffbb08bddfc847669b23..cbdd8f3f067acbad13c1a30e0a972e6a101073bf 100644 (file)
@@ -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;