From: Stefan Metzmacher Date: Fri, 28 Mar 2008 11:20:06 +0000 (+0100) Subject: mapping_tdb: use the correct sid for the key creation X-Git-Tag: samba-3.3.0pre1~2964 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d221a3f0a948e173b22585b7833a5441d860a57;p=thirdparty%2Fsamba.git mapping_tdb: use the correct sid for the key creation metze --- diff --git a/source/groupdb/mapping_tdb.c b/source/groupdb/mapping_tdb.c index 7c864e13401..e2aa06c8ffd 100644 --- a/source/groupdb/mapping_tdb.c +++ b/source/groupdb/mapping_tdb.c @@ -163,7 +163,7 @@ static bool get_group_map_from_sid(DOM_SID sid, GROUP_MAP *map) /* the key is the SID, retrieving is direct */ - key = group_mapping_key(talloc_tos(), &map->sid); + key = group_mapping_key(talloc_tos(), &sid); if (key == NULL) { return false; }