diff options
author | Jeremy Allison <jra@samba.org> | 2010-07-19 17:14:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-07-19 17:14:26 -0700 |
commit | 0bb8d133c9a39873828dbe977513edd31e1a7045 (patch) | |
tree | eddb973ad82ecc975ec344b390c70bcc0b31d2e8 /source3/rpc_client | |
parent | 8cba4a0c9639c48ec2433a98529bd8352e9d06c9 (diff) | |
download | samba-0bb8d133c9a39873828dbe977513edd31e1a7045.tar.gz samba-0bb8d133c9a39873828dbe977513edd31e1a7045.tar.bz2 samba-0bb8d133c9a39873828dbe977513edd31e1a7045.zip |
Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().
We now have one function to do this in all calling code. More rationalization
to follow.
Jeremy.
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 8dd9386eab..2e777466c4 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1338,6 +1338,7 @@ static NTSTATUS create_spnego_ntlmssp_auth_rpc_bind_req(struct rpc_pipe_client * DATA_BLOB null_blob = data_blob_null; DATA_BLOB request = data_blob_null; DATA_BLOB spnego_msg = data_blob_null; + const char *OIDs_ntlm[] = {OID_NTLMSSP, NULL}; DEBUG(5, ("create_spnego_ntlmssp_auth_rpc_bind_req: Processing NTLMSSP Negotiate\n")); status = ntlmssp_update(cli->auth->a_u.ntlmssp_state, @@ -1350,7 +1351,7 @@ static NTSTATUS create_spnego_ntlmssp_auth_rpc_bind_req(struct rpc_pipe_client * } /* Wrap this in SPNEGO. */ - spnego_msg = gen_negTokenInit(OID_NTLMSSP, request); + spnego_msg = spnego_gen_negTokenInit(OIDs_ntlm, &request, NULL); data_blob_free(&request); |