diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-05 12:30:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:10 -0500 |
commit | e9f2aa22f90208a5e530ef3b68664151960a0a22 (patch) | |
tree | 3a65bfb9b7f3f6bb91ed33046be5f481e8bc3bbc /source/libads | |
parent | a6e1e39f1dcd9ebcb5db199fd152a861b9be929b (diff) | |
download | samba-e9f2aa22f90208a5e530ef3b68664151960a0a22.tar.gz samba-e9f2aa22f90208a5e530ef3b68664151960a0a22.tar.xz samba-e9f2aa22f90208a5e530ef3b68664151960a0a22.zip |
r22092: - make spnego_parse_auth_response() more generic and
not specific for NTLMSSP
- it's possible that the server sends a mechOID and authdata
if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still
force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE
metze
Diffstat (limited to 'source/libads')
-rw-r--r-- | source/libads/sasl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/sasl.c b/source/libads/sasl.c index 0067a19d3b6..b5f92044ef6 100644 --- a/source/libads/sasl.c +++ b/source/libads/sasl.c @@ -114,7 +114,7 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) } data_blob_free(&tmp_blob); } else if (rc == LDAP_SASL_BIND_IN_PROGRESS) { - if (!spnego_parse_auth_response(blob, nt_status, + if (!spnego_parse_auth_response(blob, nt_status, OID_NTLMSSP, &blob_in)) { ntlmssp_end(&ntlmssp_state); |