diff options
Diffstat (limited to 'source3/winbindd/winbindd_creds.c')
-rw-r--r-- | source3/winbindd/winbindd_creds.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_creds.c b/source3/winbindd/winbindd_creds.c index 2f64f8b689..98a16ee937 100644 --- a/source3/winbindd/winbindd_creds.c +++ b/source3/winbindd/winbindd_creds.c @@ -65,23 +65,23 @@ NTSTATUS winbindd_store_creds(struct winbindd_domain *domain, DOM_SID cred_sid; if (info3 != NULL) { - + DOM_SID sid; sid_copy(&sid, info3->base.domain_sid); sid_append_rid(&sid, info3->base.rid); sid_copy(&cred_sid, &sid); info3->base.user_flags |= NETLOGON_CACHED_ACCOUNT; - + } else if (user_sid != NULL) { - + sid_copy(&cred_sid, user_sid); - + } else if (user != NULL) { - + /* do lookup ourself */ enum lsa_SidType type; - + if (!lookup_cached_name(mem_ctx, domain->name, user, @@ -92,7 +92,7 @@ NTSTATUS winbindd_store_creds(struct winbindd_domain *domain, } else { return NT_STATUS_INVALID_PARAMETER; } - + if (pass) { int count = 0; |