From 3c4a5f624bfa69eb81d998530d9227e158edd109 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 6 Jul 2000 07:01:37 +0000 Subject: [PATCH] Moved authenticated pipe user details into a current_user struct. --- source/include/ntdomain.h | 2 +- source/smbd/uid.c | 2 +- 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; }