mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Moved authenticated pipe user details into a current_user struct.
This commit is contained in:
parent
9245af1ea1
commit
3c4a5f624b
@ -166,7 +166,7 @@ typedef struct pipes_struct
|
||||
*/
|
||||
|
||||
fstring pipe_user_name;
|
||||
user_struct pipe_user;
|
||||
struct current_user pipe_user;
|
||||
|
||||
/*
|
||||
* Set to true when an RPC bind has been done on this pipe.
|
||||
|
@ -204,7 +204,7 @@ BOOL become_authenticated_pipe_user(pipes_struct *p)
|
||||
}
|
||||
|
||||
set_sec_ctx(p->pipe_user.uid, p->pipe_user.gid,
|
||||
p->pipe_user.n_groups, p->pipe_user.groups);
|
||||
p->pipe_user.ngroups, p->pipe_user.groups);
|
||||
|
||||
return True;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user