mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s4:auth Allow the simple 'struct auth_session_info' generator for all users
This code isn't ideal, but it is better than needing to consult the main SamDB in things like a torture test. Andrew Bartlett
This commit is contained in:
parent
577bceb19b
commit
4e2384e242
@ -109,9 +109,9 @@ static NTSTATUS create_token(TALLOC_CTX *mem_ctx,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
DEBUG(0, ("Created token was not system or anonymous token!"));
|
||||
*token = NULL;
|
||||
return NT_STATUS_INTERNAL_ERROR;
|
||||
/* All other 'users' get a empty priv set so far */
|
||||
ptoken->privilege_mask = 0;
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
static NTSTATUS generate_simple_session_info(TALLOC_CTX *mem_ctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user