summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-06 07:01:37 +0000
committerTim Potter <tpot@samba.org>2000-07-06 07:01:37 +0000
commit96446651af3f41c74de751f091740b06268a7a8c (patch)
treee5fb66bbcc84abdb226da7fa8c7af2ef00b259ac
parent34abda02dd2bcc1cd271edc369e9f172b566efaf (diff)
downloadsamba-96446651af3f41c74de751f091740b06268a7a8c.tar.gz
samba-96446651af3f41c74de751f091740b06268a7a8c.tar.bz2
samba-96446651af3f41c74de751f091740b06268a7a8c.zip
Moved authenticated pipe user details into a current_user struct.
(This used to be commit 3c4a5f624bfa69eb81d998530d9227e158edd109)
-rw-r--r--source3/include/ntdomain.h2
-rw-r--r--source3/smbd/uid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 7b652cad05..08c8163cda 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -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.
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 2078bb5a7d..172e872020 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -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;
}