summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-19 17:14:26 -0700
committerJeremy Allison <jra@samba.org>2010-07-19 17:14:26 -0700
commit0bb8d133c9a39873828dbe977513edd31e1a7045 (patch)
treeeddb973ad82ecc975ec344b390c70bcc0b31d2e8 /source3/libads/sasl.c
parent8cba4a0c9639c48ec2433a98529bd8352e9d06c9 (diff)
downloadsamba-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/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c3
1 files changed, 2 insertions, 1 deletions
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);