1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00

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 55c9bf124d)
This commit is contained in:
Tim Potter
2000-07-03 06:52:31 +00:00
parent efc9413278
commit f048209484
5 changed files with 49 additions and 39 deletions

View File

@@ -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);