mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
2aa7dc8bc6
commit
bfb001526f
@ -130,7 +130,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
len = tdb_pack(NULL, sizeof(buf), "ddff",
|
len = tdb_pack(NULL, 0, "ddff",
|
||||||
map->gid, map->sid_name_use, map->nt_name, map->comment);
|
map->gid, map->sid_name_use, map->nt_name, map->comment);
|
||||||
|
|
||||||
buf = TALLOC_ARRAY(key, char, len);
|
buf = TALLOC_ARRAY(key, char, len);
|
||||||
|
Loading…
Reference in New Issue
Block a user