mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Compile fix for new arg to create_nt_token()
(This used to be commit 806185ca8c
)
This commit is contained in:
@ -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;
|
||||
|
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user