BUG 9766: Cache name_to_sid/sid_to_name correctly.
commit86dbc3121f2e028604272309a4b1c41d51122aeb
authorAndreas Schneider <asn@samba.org>
Thu, 4 Apr 2013 10:18:25 +0000 (4 12:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 Apr 2013 09:44:45 +0000 (12 11:44 +0200)
tree6434a9befcfcf5c01d9c38759185b9032bd27c32
parent09758ceaa8fa82146a71fcc1afee57d41a460d7c
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

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Fri Apr 12 11:44:46 CEST 2013 on sn-devel-104
source3/winbindd/winbindd_cache.c