summaryrefslogtreecommitdiffstats
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
commit3c4a5f624bfa69eb81d998530d9227e158edd109 (patch)
treeee8a238ab9cff0929b3b4a2c5c07bfaff1a77897
parent9245af1ea18babae09a92af634428a63ec55438e (diff)
downloadsamba-3c4a5f624bfa69eb81d998530d9227e158edd109.tar.gz
samba-3c4a5f624bfa69eb81d998530d9227e158edd109.tar.xz
samba-3c4a5f624bfa69eb81d998530d9227e158edd109.zip
Moved authenticated pipe user details into a current_user struct.
-rw-r--r--source/include/ntdomain.h2
-rw-r--r--source/smbd/uid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/include/ntdomain.h b/source/include/ntdomain.h
index 7b652cad05d..08c8163cda0 100644
--- a/source/include/ntdomain.h
+++ b/source/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/source/smbd/uid.c b/source/smbd/uid.c
index 2078bb5a7d0..172e8720203 100644
--- a/source/smbd/uid.c
+++ b/source/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;
}