summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-03 06:52:31 +0000
committerTim Potter <tpot@samba.org>2000-07-03 06:52:31 +0000
commitf048209484b10ed397c55864ca9ee29789f4e372 (patch)
treeccf47489f65b4b8ec1f2ad67f622f73f19de10c1 /source3/smbd
parentefc941327858c1e0926b3dd3424f9a6ef4e9f651 (diff)
downloadsamba-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/smbd')
-rw-r--r--source3/smbd/uid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index e66abd1e98..2078bb5a7d 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -203,7 +203,8 @@ BOOL become_authenticated_pipe_user(pipes_struct *p)
return False;
}
- set_sec_ctx(p->uid, p->gid, 0, NULL); /* fix group stuff */
+ set_sec_ctx(p->pipe_user.uid, p->pipe_user.gid,
+ p->pipe_user.n_groups, p->pipe_user.groups);
return True;
}