Move tridge's getgrouplist() replacement function from replace.c to a new
authorAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 07:09:22 +0000 (07:09 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 07:09:22 +0000 (07:09 +0000)
commit8690b271a6a4feb112e0a6c03fe99ee25f86430b
treefc5de70d104f2ffe2e69c40d6b7cefd442a3d776
parent717b27c005311efe50aae7033a5e8c0908ea3abe
Move tridge's getgrouplist() replacement function from replace.c to a new
'system_smbd.c' file, where it can link with become_root() and unbecome_root(),
and therefore avoiding some nasty 'it workes on linux' bugs.

(The replacement function is implemented in terms of initgroups(), which is
naturally only avaliable to root).

Andrew Bartlett
(This used to be commit a91018dd026be3db473bb1cf1f4981295f9758e4)
source3/Makefile.in
source3/lib/replace.c
source3/lib/system_smbd.c [new file with mode: 0644]
source3/lib/util_getent.c
source3/lib/util_smbd.c [new file with mode: 0644]