auth/ntlmssp: implement GENSEC_FEATURE_LDAP_STYLE
commit294ef7306d5d8cfb919bedffb643c1846d54c819
authorStefan Metzmacher <metze@samba.org>
Wed, 9 Dec 2015 13:48:14 +0000 (9 14:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Mar 2016 14:24:40 +0000 (29 16:24 +0200)
tree4dc2d67259678913724ed5b548652d9c75928b40
parent6d08a2ae7a923df2ce94fd5975f5499868010349
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.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11804

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
(cherry picked from commit f3dbe19e14eaf7a462f14485c6a9138a7348db2e)
auth/ntlmssp/gensec_ntlmssp_server.c
auth/ntlmssp/ntlmssp.h
auth/ntlmssp/ntlmssp_client.c
auth/ntlmssp/ntlmssp_sign.c