This adds winbind-generated groups showing up in 'getent group'. It is not
authorVolker Lendecke <vlendec@samba.org>
Tue, 2 Mar 2004 14:49:06 +0000 (14:49 +0000)
committerVolker Lendecke <vlendec@samba.org>
Tue, 2 Mar 2004 14:49:06 +0000 (14:49 +0000)
commitb5c98c295c1131e805cccbbfbf061cf723b221c3
treeaef2482ea467b64297095a45ba98f11169c0d389
parent923a0bed5c6062e620ed3d4ba57c01e6eb86b5b6
This adds winbind-generated groups showing up in 'getent group'. It is not
very efficient though, it only does one group at a time. Needs improving, but
the structures are not particularly easy to set up, so check in the basically
working part for others to review.

I'm close to saying that I would like to remove aliases from general group
mapping. These can not be reflected correctly in /etc/group, winbind could do
a better job here.

And having aliases only on machines with nss_winbind at least for me is not a
too severe limitation.

Comments?

Volker
(This used to be commit 6cad5bcc280c2964473346cc467423a44cc6a5c2)
source3/nsswitch/winbindd.h
source3/nsswitch/winbindd_acct.c
source3/nsswitch/winbindd_group.c