BUG 9766: Cache name_to_sid/sid_to_name correctly.
authorAndreas Schneider <asn@samba.org>
Thu, 4 Apr 2013 10:18:25 +0000 (12:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 Apr 2013 07:55:22 +0000 (09:55 +0200)
commitafcbaf373a1959f2323ffa729886b688c2b965e3
tree3a67b83bb2a10d30f34d46e7916df5804b6b24ad
parentd9b8bd03d002e0329a4b0ed4b1cc81d64fe9c6eb
BUG 9766: Cache name_to_sid/sid_to_name correctly.

If there is no domain_name specified we still need to set to for
caching else we will not find the entry later if we lookup the entry
with the domain_name.

Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Apr  9 16:32:44 CEST 2013 on sn-devel-104
source3/winbindd/winbindd_cache.c