diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-22 12:15:06 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:03 +1000 |
commit | bba5f0a6418db2fd5a65e5f72a5a93dc8c7c0240 (patch) | |
tree | eec80cf7a74e186efe05ea9e324297d52e470dce /source3/librpc/crypto | |
parent | 778bf87d8dbae333bfeea3b0d904fd2b17782745 (diff) | |
download | samba-bba5f0a6418db2fd5a65e5f72a5a93dc8c7c0240.tar.gz samba-bba5f0a6418db2fd5a65e5f72a5a93dc8c7c0240.tar.bz2 samba-bba5f0a6418db2fd5a65e5f72a5a93dc8c7c0240.zip |
s3-ntlmssp Remove auth_ntlmssp_or_flags
We now just use auth_ntlmssp_want_feature to get extra flags
on the NTLMSSP context
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r-- | source3/librpc/crypto/cli_spnego.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index 3222d0b7ef..c30a297cc5 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -138,12 +138,11 @@ NTSTATUS spnego_ntlmssp_init_client(TALLOC_CTX *mem_ctx, NTLMSSP_NEGOTIATE_SEAL)); if (do_sign) { - auth_ntlmssp_or_flags(sp_ctx->mech_ctx.ntlmssp_state, - NTLMSSP_NEGOTIATE_SIGN); + auth_ntlmssp_want_feature(sp_ctx->mech_ctx.ntlmssp_state, + NTLMSSP_FEATURE_SIGN); } else if (do_seal) { - auth_ntlmssp_or_flags(sp_ctx->mech_ctx.ntlmssp_state, - NTLMSSP_NEGOTIATE_SEAL | - NTLMSSP_NEGOTIATE_SIGN); + auth_ntlmssp_want_feature(sp_ctx->mech_ctx.ntlmssp_state, + NTLMSSP_FEATURE_SEAL); } *spnego_ctx = sp_ctx; |