summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-02 10:24:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:02 +1000
commitdee845eb70379feae89940e9535541f7957c60d9 (patch)
treea2553eb0d80c4bd78cd972c56a63f31af326b22b /source3/rpc_client
parent6bcaba6f8ab8bae874c67389e716dd3766309656 (diff)
downloadsamba-dee845eb70379feae89940e9535541f7957c60d9.tar.gz
samba-dee845eb70379feae89940e9535541f7957c60d9.tar.bz2
samba-dee845eb70379feae89940e9535541f7957c60d9.zip
s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key()
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index d71a106019..9d0abfc612 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -3287,8 +3287,8 @@ NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx,
case DCERPC_AUTH_TYPE_NTLMSSP:
ntlmssp_ctx = talloc_get_type_abort(a->auth_ctx,
struct auth_ntlmssp_state);
- sk = auth_ntlmssp_get_session_key(ntlmssp_ctx);
- make_dup = true;
+ sk = auth_ntlmssp_get_session_key(ntlmssp_ctx, mem_ctx);
+ make_dup = false;
break;
case DCERPC_AUTH_TYPE_KRB5:
gse_ctx = talloc_get_type_abort(a->auth_ctx,