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)
committerGünther Deschner <gd@samba.org>
Tue, 9 Apr 2013 14:32:44 +0000 (16:32 +0200)
commit045c446b5a3ffc7e56d46ac4aa4acae9d27d9f49
tree5b9f6c5cdbaa31f7bdfe766dc2779b71e30c1cd7
parentb7c0330b7429ce1b9cda8b1c2446b3a21cbd29db
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