diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-27 13:52:27 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:03 +1000 |
commit | 1231b784a1a30c475960d429465ca104c906801c (patch) | |
tree | 9decd7f8e750744c7689c93f1241d8aad580552c /source3/librpc/crypto | |
parent | da4345a8d1da94ac879b876ad826fa4ea7b95efd (diff) | |
download | samba-1231b784a1a30c475960d429465ca104c906801c.tar.gz samba-1231b784a1a30c475960d429465ca104c906801c.tar.bz2 samba-1231b784a1a30c475960d429465ca104c906801c.zip |
s3-ntlmssp Remove auth_ntlmssp_and_flags()
There is no need to mask out these flags as they simply are not set
yet.
The correct abstraction is to ask for NTLMSSP features.
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index c30a297cc5..65b5050ed3 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -130,13 +130,6 @@ NTSTATUS spnego_ntlmssp_init_client(TALLOC_CTX *mem_ctx, return status; } - /* - * Turn off sign+seal to allow selected auth level to turn it back on. - */ - auth_ntlmssp_and_flags(sp_ctx->mech_ctx.ntlmssp_state, - ~(NTLMSSP_NEGOTIATE_SIGN | - NTLMSSP_NEGOTIATE_SEAL)); - if (do_sign) { auth_ntlmssp_want_feature(sp_ctx->mech_ctx.ntlmssp_state, NTLMSSP_FEATURE_SIGN); |