1
0
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:
Günther Deschner 2006-01-06 14:55:26 +00:00 committed by Gerald (Jerry) Carter
parent 2c3d5c029a
commit 1e0124efc5

View File

@ -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 */