mapping_tdb: use the correct sid for the key creation
authorStefan Metzmacher <metze@samba.org>
Fri, 28 Mar 2008 11:20:06 +0000 (12:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 1 Apr 2008 12:04:21 +0000 (14:04 +0200)
metze
(This used to be commit 0d221a3f0a948e173b22585b7833a5441d860a57)

source3/groupdb/mapping_tdb.c

index 7c864e13401ac8c8fdd7e81a638ade7c2a99f2df..e2aa06c8ffd022b803433cef30ac1fbd8fb17ab4 100644 (file)
@@ -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;
        }