From 5a064d4a62c35167d888356d01dfdb76f59bc6b1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 26 Sep 2004 23:39:18 +0000 Subject: r2669: convert make_user_info() and associated functions from malloc to talloc (This used to be commit 278cef77f083c002d17ecbbe18c20825a380eda3) --- source4/rpc_server/netlogon/dcerpc_netlogon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4/rpc_server') diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index d35a8476df..11827d5625 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -504,7 +504,8 @@ static NTSTATUS netr_LogonSamLogonWithFlags(struct dcesrv_call_state *dce_call, } chal = auth_context->get_ntlm_challenge(auth_context); - nt_status = make_user_info_netlogon_interactive(&user_info, + nt_status = make_user_info_netlogon_interactive(auth_context, + &user_info, r->in.logon.password->identity_info.account_name.string, r->in.logon.password->identity_info.domain_name.string, r->in.logon.password->identity_info.workstation.string, @@ -521,7 +522,8 @@ static NTSTATUS netr_LogonSamLogonWithFlags(struct dcesrv_call_state *dce_call, return nt_status; } - nt_status = make_user_info_netlogon_network(&user_info, + nt_status = make_user_info_netlogon_network(auth_context, + &user_info, r->in.logon.network->identity_info.account_name.string, r->in.logon.network->identity_info.domain_name.string, r->in.logon.network->identity_info.workstation.string, -- cgit