auth/ntlmssp: implement GENSEC_FEATURE_LDAP_STYLE
authorStefan Metzmacher <metze@samba.org>
Wed, 9 Dec 2015 13:48:14 +0000 (14:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:29 +0000 (06:52 +0100)
commitf3dbe19e14eaf7a462f14485c6a9138a7348db2e
tree97285e1decdda1eed47ff02cad31f4bbf8914b05
parent069aee42c2f12ed5feb23c19dc0a4771d913619a
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>
auth/ntlmssp/gensec_ntlmssp_server.c
auth/ntlmssp/ntlmssp.h
auth/ntlmssp/ntlmssp_client.c
auth/ntlmssp/ntlmssp_sign.c