summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-28 12:20:06 +0100
committerStefan Metzmacher <metze@samba.org>2008-04-01 14:04:21 +0200
commite144a8b15f494fb27c25b79a910e7e52c704466f (patch)
tree086b2d74420bacc16487950939ae43a7591ed64a
parenta114125f892aff9abca529fe6d94932681387ecd (diff)
downloadsamba-e144a8b15f494fb27c25b79a910e7e52c704466f.tar.gz
samba-e144a8b15f494fb27c25b79a910e7e52c704466f.tar.bz2
samba-e144a8b15f494fb27c25b79a910e7e52c704466f.zip
mapping_tdb: use the correct sid for the key creation
metze (This used to be commit 0d221a3f0a948e173b22585b7833a5441d860a57)
-rw-r--r--source3/groupdb/mapping_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index 7c864e1340..e2aa06c8ff 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/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;
}