summaryrefslogtreecommitdiffstats
path: root/source/groupdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-28 12:20:06 +0100
committerKarolin Seeger <kseeger@samba.org>2008-04-12 07:53:46 +0200
commit7e34011c0fdf59cdddc4da8c716db2f6ce9201fe (patch)
treee8da7c10f9e86a4161272defd32e015d912b944e /source/groupdb
parent70d7bbb688ea0b7a1d1bd4aeb4b5f424ddff15ef (diff)
downloadsamba-7e34011c0fdf59cdddc4da8c716db2f6ce9201fe.tar.gz
samba-7e34011c0fdf59cdddc4da8c716db2f6ce9201fe.tar.xz
samba-7e34011c0fdf59cdddc4da8c716db2f6ce9201fe.zip
mapping_tdb: use the correct sid for the key creation
metze (cherry picked from commit 0d221a3f0a948e173b22585b7833a5441d860a57)
Diffstat (limited to 'source/groupdb')
-rw-r--r--source/groupdb/mapping_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/groupdb/mapping_tdb.c b/source/groupdb/mapping_tdb.c
index 6d110e7c69b..f59e9de311c 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;
}