mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
r12742: Don't write null sid mappings into the winbindd_cache.tdb.
Guenther
This commit is contained in:
parent
2c3d5c029a
commit
1e0124efc5
@ -989,7 +989,9 @@ do_query:
|
||||
status = domain->backend->name_to_sid(domain, mem_ctx, domain_name, name, sid, type);
|
||||
|
||||
/* and save it */
|
||||
wcache_save_name_to_sid(domain, status, domain_name, name, sid, *type);
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
wcache_save_name_to_sid(domain, status, domain_name, name, sid, *type);
|
||||
}
|
||||
|
||||
/* We can't save the sid to name mapping as we don't know the
|
||||
correct case of the name without looking it up */
|
||||
|
Loading…
x
Reference in New Issue
Block a user