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/libsmb/cliconnect.c | |
parent | 8cba4a0c9639c48ec2433a98529bd8352e9d06c9 (diff) | |
download | samba-0bb8d133c9a39873828dbe977513edd31e1a7045.tar.gz samba-0bb8d133c9a39873828dbe977513edd31e1a7045.tar.xz 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/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 7fe359b9aeb..a8e359dab16 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -984,6 +984,7 @@ static struct tevent_req *cli_session_setup_ntlmssp_send( struct cli_session_setup_ntlmssp_state *state; NTSTATUS status; DATA_BLOB blob_out; + const char *OIDs_ntlm[] = {OID_NTLMSSP, NULL}; req = tevent_req_create(mem_ctx, &state, struct cli_session_setup_ntlmssp_state); @@ -1032,7 +1033,7 @@ static struct tevent_req *cli_session_setup_ntlmssp_send( goto fail; } - state->blob_out = gen_negTokenInit(OID_NTLMSSP, blob_out); + state->blob_out = spnego_gen_negTokenInit(OIDs_ntlm, &blob_out, NULL); data_blob_free(&blob_out); subreq = cli_sesssetup_blob_send(state, ev, cli, state->blob_out); |