groups_max

Jianliang Lu j.lu at tiesse.com
Thu Oct 14 08:38:48 GMT 2004


I can't understand the reason of the groups max limit, that is returned from
_POSIX_NGROUPS_MAX, 32 for Linux and 0 for AIX. The Samba 3.0.7 has removed
the control "if ((*num) >= groups_max())", in function
"add_uid_to_array_unique", file rpc_server/srv_samr_nt.c, so the
"samr_query_groupmem" call returns correct groups member. But in
"getgroups_user" this limit is still used, so an user can't access the
resource allowed for its group but the user is a >32 member of that group. I
don't know how Samba can work in an AIX machine.
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