summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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;
}