mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:auth/unix_token: remove unused tevent_context from security_token_to_unix_token()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
d254984d37
commit
a2efaef15f
@ -29,7 +29,6 @@
|
|||||||
form a security_unix_token from the current security_token
|
form a security_unix_token from the current security_token
|
||||||
*/
|
*/
|
||||||
NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx,
|
NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx,
|
||||||
struct tevent_context *ev,
|
|
||||||
struct security_token *token,
|
struct security_token *token,
|
||||||
struct security_unix_token **sec)
|
struct security_unix_token **sec)
|
||||||
{
|
{
|
||||||
@ -128,7 +127,7 @@ NTSTATUS auth_session_info_fill_unix(struct tevent_context *ev,
|
|||||||
{
|
{
|
||||||
char *su;
|
char *su;
|
||||||
size_t len;
|
size_t len;
|
||||||
NTSTATUS status = security_token_to_unix_token(session_info, ev,
|
NTSTATUS status = security_token_to_unix_token(session_info,
|
||||||
session_info->security_token,
|
session_info->security_token,
|
||||||
&session_info->unix_token);
|
&session_info->unix_token);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
|
@ -156,9 +156,7 @@ static NTSTATUS nt_token_to_unix_security(struct ntvfs_module_context *ntvfs,
|
|||||||
struct security_token *token,
|
struct security_token *token,
|
||||||
struct security_unix_token **sec)
|
struct security_unix_token **sec)
|
||||||
{
|
{
|
||||||
return security_token_to_unix_token(req,
|
return security_token_to_unix_token(req, token, sec);
|
||||||
ntvfs->ctx->event_ctx,
|
|
||||||
token, sec);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user