Andrew Bartlett abartlet at
Thu Oct 14 08:59:06 GMT 2004

On Thu, 2004-10-14 at 18:51, Jianliang Lu wrote:
> 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.

In current SVN I removed that limit. 

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Authentication Developer, Samba Team  
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list