groups_max
Jianliang Lu
j.lu at tiesse.com
Thu Oct 14 08:51:16 GMT 2004
I would like to know how to use the groups max limit, that is returned from
_SC_NGROUPS_MAX, 32 for Linux and 0 for AIX. In version 3.0.7 Samba has
removed the control "if ((*num) >= groups_max())" from function
"add_uid_to_array_unique", file rpc_server/srv_samr_nt.c. So a
"SAMR_QUERY_GROUPMEM" call now returns correct number of members. But the
group_max limit is still used in function "getgroups_user", file
"lib/util_smbd.c. For this limit an user can't access the resource that is
allowed for the group of the user but the user is a >32 member in that
group.
Regards,
Jianliang Lu
TieSse s.p.a
Via Jervis, 60 - 10015 Ivrea (To) - Italy
j.lu at tiesse.com
luj at libero.it
http://www.tiesse.com
More information about the samba-technical
mailing list