From 41bea30dd8486424c1f1fc9ebf6283f75c62e3da Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 11 Mar 2008 12:46:36 +0100 Subject: Cleanup after pstring removal (This used to be commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06) --- source3/groupdb/mapping_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index 67e377c338..555f77f6f3 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -106,7 +106,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag) if (!buf) { return false; } - len = tdb_pack((uint8 *)buf, sizeof(buf), "ddff", map->gid, + len = tdb_pack((uint8 *)buf, len, "ddff", map->gid, map->sid_name_use, map->nt_name, map->comment); } -- cgit