summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-12 05:29:47 +0000
committerTim Potter <tpot@samba.org>2000-12-12 05:29:47 +0000
commit90a7d7d3d7e77ed1f33e2bb9969beef7aa464712 (patch)
tree445dd152fa2a96bd3a8b412f6fafe354c50f10b3
parent20ac3fc77e9423ab13a2cc1a2ef3d266f5b233e0 (diff)
downloadsamba-90a7d7d3d7e77ed1f33e2bb9969beef7aa464712.tar.gz
samba-90a7d7d3d7e77ed1f33e2bb9969beef7aa464712.tar.bz2
samba-90a7d7d3d7e77ed1f33e2bb9969beef7aa464712.zip
Compile fix for new arg to create_nt_token()
(This used to be commit 806185ca8cc8d28f16745a1db9427f52eb8d22e4)
-rw-r--r--source3/rpc_server/srv_pipe.c6
-rw-r--r--source3/smbd/service.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index d15f045252..6d0a006593 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -467,8 +467,10 @@ failed authentication on named pipe %s.\n", domain, pipe_user_name, wks, p->name
get_current_groups( &p->pipe_user.ngroups, &p->pipe_user.groups);
/* Create an NT_USER_TOKEN struct for this user. */
- p->pipe_user.nt_user_token = create_nt_token(p->pipe_user.uid,p->pipe_user.gid,
- p->pipe_user.ngroups, p->pipe_user.groups);
+ p->pipe_user.nt_user_token =
+ create_nt_token(p->pipe_user.uid,p->pipe_user.gid,
+ p->pipe_user.ngroups, p->pipe_user.groups,
+ guest_user);
p->ntlmssp_auth_validated = True;
return True;
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 2dbb2c0d17..0713c0e49d 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -468,7 +468,9 @@ connection_struct *make_connection(char *service,char *user,char *password, int
return NULL;
}
- conn->nt_user_token = create_nt_token(conn->uid, conn->gid, conn->ngroups, conn->groups);
+ conn->nt_user_token = create_nt_token(conn->uid, conn->gid,
+ conn->ngroups, conn->groups,
+ guest);
/* Initialise VFS function pointers */