diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |