summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-19 15:41:45 -0700
committerJeremy Allison <jra@samba.org>2010-07-19 15:41:45 -0700
commit625a51138916473eacc1447b11ffd93db0832077 (patch)
treee0b4a627f8b5aaf41a6716f1a99f42e398a7fb3c /source3/libads
parent962951e63d0bd3588085314b3bd94bac35415347 (diff)
downloadsamba-625a51138916473eacc1447b11ffd93db0832077.tar.gz
samba-625a51138916473eacc1447b11ffd93db0832077.tar.bz2
samba-625a51138916473eacc1447b11ffd93db0832077.zip
Remove parse_negTokenTarg(), as it's actually incorrect. We're processing
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index a37d1e8474..aa3acbd9ae 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -779,7 +779,7 @@ static ADS_STATUS ads_sasl_spnego_bind(ADS_STRUCT *ads)
/* the server sent us the first part of the SPNEGO exchange in the negprot
reply */
- if (!spnego_parse_negTokenInit(blob, OIDs, &given_principal)) {
+ if (!spnego_parse_negTokenInit(blob, OIDs, &given_principal, NULL)) {
data_blob_free(&blob);
status = ADS_ERROR(LDAP_OPERATIONS_ERROR);
goto failed;