From 8fca9741fe7fca3a899fdff7ab667de1364f0ea9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 2 Aug 2011 08:53:10 +1000 Subject: s3-auth rename auth_ntlmssp_steal_session_info() There is no longer any theft of memory as the underlying routines now produce a new auth_session_info for this caller, allocating it on the supplied memory context. Andrew Bartlett --- source3/auth/auth_ntlmssp.c | 6 +++--- source3/auth/proto.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index fc197ce605..5845969631 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -28,9 +28,9 @@ #include "../lib/tsocket/tsocket.h" #include "auth/gensec/gensec.h" -NTSTATUS auth_ntlmssp_steal_session_info(TALLOC_CTX *mem_ctx, - struct auth_ntlmssp_state *auth_ntlmssp_state, - struct auth_session_info **session_info) +NTSTATUS auth_ntlmssp_session_info(TALLOC_CTX *mem_ctx, + struct auth_ntlmssp_state *auth_ntlmssp_state, + struct auth_session_info **session_info) { NTSTATUS nt_status; if (auth_ntlmssp_state->gensec_security) { diff --git a/source3/auth/proto.h b/source3/auth/proto.h index 82bf203b57..239e8ff454 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -69,9 +69,9 @@ NTSTATUS auth_netlogond_init(void); /* The following definitions come from auth/auth_ntlmssp.c */ -NTSTATUS auth_ntlmssp_steal_session_info(TALLOC_CTX *mem_ctx, - struct auth_ntlmssp_state *auth_ntlmssp_state, - struct auth_session_info **session_info); +NTSTATUS auth_ntlmssp_session_info(TALLOC_CTX *mem_ctx, + struct auth_ntlmssp_state *auth_ntlmssp_state, + struct auth_session_info **session_info); NTSTATUS auth_ntlmssp_prepare(const struct tsocket_address *remote_address, struct auth_ntlmssp_state **auth_ntlmssp_state); NTSTATUS auth_ntlmssp_start(struct auth_ntlmssp_state *auth_ntlmssp_state); -- cgit