From 0bb8d133c9a39873828dbe977513edd31e1a7045 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 19 Jul 2010 17:14:26 -0700 Subject: 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. --- source3/libads/sasl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/libads') diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c index aa3acbd9ae..b314eb9c0f 100644 --- a/source3/libads/sasl.c +++ b/source3/libads/sasl.c @@ -190,8 +190,9 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) || NT_STATUS_IS_OK(nt_status)) && blob_out.length) { if (turn == 1) { + const char *OIDs_ntlm[] = {OID_NTLMSSP, NULL}; /* and wrap it in a SPNEGO wrapper */ - msg1 = gen_negTokenInit(OID_NTLMSSP, blob_out); + msg1 = spnego_gen_negTokenInit(OIDs_ntlm, &blob_out, NULL); } else { /* wrap it in SPNEGO */ msg1 = spnego_gen_auth(blob_out); -- cgit