summaryrefslogtreecommitdiff
path: root/source3/auth/auth_ntlmssp.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-02 08:53:10 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:05 +1000
commit8fca9741fe7fca3a899fdff7ab667de1364f0ea9 (patch)
tree77eeffd551e12a3386d854f10a5426fb2dbdaf5e /source3/auth/auth_ntlmssp.c
parent4379738e8516f54d7599e87fd9e6a9ec80680dd0 (diff)
downloadsamba-8fca9741fe7fca3a899fdff7ab667de1364f0ea9.tar.gz
samba-8fca9741fe7fca3a899fdff7ab667de1364f0ea9.tar.bz2
samba-8fca9741fe7fca3a899fdff7ab667de1364f0ea9.zip
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
Diffstat (limited to 'source3/auth/auth_ntlmssp.c')
-rw-r--r--source3/auth/auth_ntlmssp.c6
1 files changed, 3 insertions, 3 deletions
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) {