1
0
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:
Tim Potter
2000-12-12 05:29:47 +00:00
parent 20ac3fc77e
commit 90a7d7d3d7
2 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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 */