Fixed up the user/group contexts when using authenticated pipes.
authorJeremy Allison <jra@samba.org>
Fri, 4 Aug 2000 00:59:09 +0000 (00:59 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 4 Aug 2000 00:59:09 +0000 (00:59 +0000)
commit06a65972e872f37d88b84f22ea714feebd38f6c0
treec32fff798861e2a92c1403b60a06dca102db1632
parente28d01b744b3dbd33e0e54af4e7f426fa8c082b8
Fixed up the user/group contexts when using authenticated pipes.
Added a become_root()/unbecome_root() (push/pop security context)
around the initgroups() call to ensure it would succeed. Hmmm - I
wonder if this call being done as non-root might explain any "group access"
bugs we've had in the past....
Jeremy.
source/include/proto.h
source/rpc_server/srv_pipe.c
source/rpc_server/srv_pipe_hnd.c
source/script/mkproto.awk
source/smbd/password.c
source/smbd/uid.c