summaryrefslogtreecommitdiff
path: root/auth/ntlmssp/ntlmssp.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-12-09 14:48:14 +0100
committerStefan Metzmacher <metze@samba.org>2016-03-10 06:52:29 +0100
commitf3dbe19e14eaf7a462f14485c6a9138a7348db2e (patch)
tree97285e1decdda1eed47ff02cad31f4bbf8914b05 /auth/ntlmssp/ntlmssp.h
parent069aee42c2f12ed5feb23c19dc0a4771d913619a (diff)
downloadsamba-f3dbe19e14eaf7a462f14485c6a9138a7348db2e.tar.gz
auth/ntlmssp: implement GENSEC_FEATURE_LDAP_STYLE
We need to handle NTLMSSP_NEGOTIATE_SIGN as NTLMSSP_NEGOTIATE_SEAL if GENSEC_FEATURE_LDAP_STYLE is requested. This works arround a bug in Windows, which allow signed only messages using NTLMSSP and LDAP. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'auth/ntlmssp/ntlmssp.h')
-rw-r--r--auth/ntlmssp/ntlmssp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/ntlmssp/ntlmssp.h b/auth/ntlmssp/ntlmssp.h
index f1af2243855..c63c23d029c 100644
--- a/auth/ntlmssp/ntlmssp.h
+++ b/auth/ntlmssp/ntlmssp.h
@@ -94,6 +94,8 @@ struct ntlmssp_state
uint32_t neg_flags; /* the current state of negotiation with the NTLMSSP partner */
+ bool force_wrap_seal;
+
union ntlmssp_crypt_state *crypt;
};