summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-27 13:35:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:03 +1000
commit763243d6ed470d1ff5c0d1c4ab6cda227103cc15 (patch)
tree25e0864fa88415d8ae74e47c94fd652ead590152 /source3
parentd69843c908d2dab9f5296096eccf8650296b79f4 (diff)
downloadsamba-763243d6ed470d1ff5c0d1c4ab6cda227103cc15.tar.gz
samba-763243d6ed470d1ff5c0d1c4ab6cda227103cc15.tar.bz2
samba-763243d6ed470d1ff5c0d1c4ab6cda227103cc15.zip
s3-ntlmssp NTLMSSP sealing implies signing, so set both flags
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/ntlmssp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index fe2fb663ba..87362c2840 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -205,6 +205,7 @@ void ntlmssp_want_feature(struct ntlmssp_state *ntlmssp_state, uint32_t feature)
ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
}
if (feature & NTLMSSP_FEATURE_SEAL) {
+ ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL;
}
if (feature & NTLMSSP_FEATURE_CCACHE) {