diff options
author | Tim Potter <tpot@samba.org> | 2000-07-03 06:52:31 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-03 06:52:31 +0000 |
commit | f048209484b10ed397c55864ca9ee29789f4e372 (patch) | |
tree | ccf47489f65b4b8ec1f2ad67f622f73f19de10c1 /source3/rpc_server/srv_pipe_hnd.c | |
parent | efc941327858c1e0926b3dd3424f9a6ef4e9f651 (diff) | |
download | samba-f048209484b10ed397c55864ca9ee29789f4e372.tar.gz samba-f048209484b10ed397c55864ca9ee29789f4e372.tar.bz2 samba-f048209484b10ed397c55864ca9ee29789f4e372.zip |
Some more sec_ctx changes. Modified some fields in the pipe_struct
structure so authenticated pipe users can have their unix groups set when
become_authenticated_pipe_user() is called.
(This used to be commit 55c9bf124dc661df43bfe582ef14b1297aeaf0fa)
Diffstat (limited to 'source3/rpc_server/srv_pipe_hnd.c')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index b11c76b75d..faba41b925 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -106,6 +106,8 @@ static BOOL pipe_init_outgoing_data(output_data *o_data) Attempt to find a remote process to communicate RPC's with. ****************************************************************************/ +#if 0 + static void attempt_remote_rpc_connect(pipes_struct *p) { struct user_creds usr; @@ -152,6 +154,8 @@ static void attempt_remote_rpc_connect(pipes_struct *p) DEBUG(10,("attempt_remote_rpc_connect: msrpc redirect failed - using local implementation.\n")); } +#endif + /**************************************************************************** Find first available pipe slot. ****************************************************************************/ @@ -248,8 +252,10 @@ pipes_struct *open_rpc_pipe_p(char *pipe_name, */ prs_init(&p->out_data.rdata, 0, 4, MARSHALL); - p->uid = (uid_t)-1; - p->gid = (gid_t)-1; + ZERO_STRUCT(p->pipe_user); + + p->pipe_user.uid = (uid_t)-1; + p->pipe_user.gid = (gid_t)-1; fstrcpy(p->name, pipe_name); |