mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
took out #ifdef'd code in make_samr_r_query_usergroups that copied
DOM_GID static-size array, because it's malloc'd now.
(This used to be commit 7776002218
)
This commit is contained in:
parent
f650b65800
commit
0c5dcf52b0
@ -1699,16 +1699,6 @@ void make_samr_r_query_usergroups(SAMR_R_QUERY_USERGROUPS *r_u,
|
||||
r_u->num_entries2 = num_gids;
|
||||
|
||||
r_u->gid = gid;
|
||||
|
||||
#if 0
|
||||
int i;
|
||||
for (i = 0; i < num_gids && i < LSA_MAX_GROUPS; i++)
|
||||
{
|
||||
r_u->gid[i].g_rid = gid[i].g_rid;
|
||||
r_u->gid[i].attr = gid[i].attr ;
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user