diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/lookup_sid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 45a72057b6..758fe968fc 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -406,7 +406,9 @@ static BOOL wb_lookup_rids(TALLOC_CTX *mem_ctx, if (!winbind_lookup_rids(tmp_ctx, domain_sid, num_rids, rids, domain_name, &my_names, &my_types)) { + *domain_name = ""; for (i=0; i<num_rids; i++) { + names[i] = ""; types[i] = SID_NAME_UNKNOWN; } return True; |