summaryrefslogtreecommitdiff
path: root/source3/rpc_server/dcesrv_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/rpc_server/dcesrv_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/rpc_server/dcesrv_ntlmssp.c')
-rw-r--r--source3/rpc_server/dcesrv_ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/dcesrv_ntlmssp.c b/source3/rpc_server/dcesrv_ntlmssp.c
index f9fbc060c5..a31bb36284 100644
--- a/source3/rpc_server/dcesrv_ntlmssp.c
+++ b/source3/rpc_server/dcesrv_ntlmssp.c
@@ -117,7 +117,7 @@ NTSTATUS ntlmssp_server_get_user_info(struct auth_ntlmssp_state *ctx,
{
NTSTATUS status;
- status = auth_ntlmssp_steal_session_info(mem_ctx, ctx, session_info);
+ status = auth_ntlmssp_session_info(mem_ctx, ctx, session_info);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, (__location__ ": Failed to get authenticated user "
"info: %s\n", nt_errstr(status)));