[Samba] Samba 3beta3 - Winbind and groups in groups - question

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 19 16:11:54 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 19 Aug 2003, [iso-8859-2] £ukasz Sznajder wrote:

> >We don't unroll nested groups IIRC.  Not on the plate for 3.0.  Sorry.
>
> Ok. It makes my project little harder, but do You know if 
> - can I find something in cvs HEAD?
> - where I can find any API if I want to try to add it - as 
>   dirty but working hack?

The main problem is peformance.  Basically whan you need to do is to
get the group membership and then resolve any SIDs that are users.
Look in winbindd_getgrnam() and winbindd_getgrent() 
(nsswitch/winbindd_group.c).  All of this should then be cached
somehow so you don't take the performance hit everytime.

It is not particularly hard I don't think.  Just needs to be done.



cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/QkxLIR7qMdg1EfYRAifvAJ0afqcLqCjUR57JyzJVkpBZLdCaDQCePZTK
gxXkSCWIuQJm1AsszvTbsqU=
=Gpsm
-----END PGP SIGNATURE-----




More information about the samba mailing list