This is a discussion on Re: groups_max - Samba ; --=-E27NnsWCh9f1RVCPCi6x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 f= rom > _SC_NGROUPS_MAX, 32 for Linux and 0 for AIX. ...
--=-E27NnsWCh9f1RVCPCi6x
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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 f=
rom
> _SC_NGROUPS_MAX, 32 for Linux and 0 for AIX. In version 3.0.7 Samba has
> removed the control "if ((*num) >=3D 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.=20
Andrew Bartlett
--=20
Andrew Bartlett abartlet@samba.org
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College abartlet@hawkerc.net
--=-E27NnsWCh9f1RVCPCi6x
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBbj/aw6AkmCjZ77cRAjW+AKCg2GDtwbbX5TuMqA6H3cqEsv08mACdF 8DK
l/+QXk9c6heCWYyRWf/JIrY=
=t0Lm
-----END PGP SIGNATURE-----
--=-E27NnsWCh9f1RVCPCi6x--