BUG 9766: Cache name_to_sid/sid_to_name correctly.
commit197ced23c2df5875b818174a9b01d8b154254551
authorAndreas Schneider <asn@samba.org>
Thu, 4 Apr 2013 10:18:25 +0000 (4 12:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 26 Apr 2013 07:25:04 +0000 (26 09:25 +0200)
tree1aaf276a145d54312ef2e601cad65775be98166d
parentde6f18eb3851d5f8414dafc2db33ece290ddddc8
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
(cherry picked from commit afcbaf373a1959f2323ffa729886b688c2b965e3)
source3/winbindd/winbindd_cache.c