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)
commit06e4f11acd3aedd6c8e4adf365932a01eca902b8
tree07a8837ca9915b56fa0829a537f1e8a68f4e5a0c
parentf87399915b009f88c41cb75a583c2972fe3daf30
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.
(This used to be commit 06a65972e872f37d88b84f22ea714feebd38f6c0)
source3/include/proto.h
source3/rpc_server/srv_pipe.c
source3/rpc_server/srv_pipe_hnd.c
source3/script/mkproto.awk
source3/smbd/password.c
source3/smbd/uid.c