auth: Move the rest of the source4 gensec_ntlmssp code to the top level The ntlmssp_server code will be in common shortly, and aside from a symbol name or two, moving the client code causes no harm and makes less mess. We will also get the client code in common very soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
ntlmssp: merge initial packet implementations Signed-off-by: Stefan Metzmacher <metze@samba.org>
s4-ntlmssp Do not allow LM key without a LM password
ntlmssp: Prepare gensec_ntlmssp_start() for broader use This moves the allocation of the ntlmssp pointer back to the callers. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
ntlmssp: Move ntlmssp code to auth/ntlmssp This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Fix inspired by work done by David Disseldorp for bug #8040 - smbclient segfaults when a Cyrillic netbios name or workgroup is configured. Change msrpc_gen to return NTSTATUS and ensure everywhere this is used it is correctly checked to return that status. Jeremy.
build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
s4:ntlmssp: remove server_name from (gensec_)ntlmssp_state and fill the server.* fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_data Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
s4:ntlmssp Ensure that we always negotiate signing if we negotiate sealing. Without this, a sealed LDAP connection to windows does not work. Andrew Bartlett
s4: ran minimal_includes.pl on source4/auth/ntlmssp
s4-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants. Guenther
Fix Samba4 build errors with common libcli/samsync
Add gensec_settings structure. This wraps loadparm_context for now, but should in the future only contain some settings required for gensec.
Remove unused argument iconv_convenience.
Remove iconv_convenience parameter from simple string push/pull functions.
Move source4/lib/crypto to lib/crypto.
Try to make NTLMSSP less fussy for unimportant messages. We don't really care (because nobody uses them) what we send as the domain and workstation in the negotiate packet. Andrew Bartlett (This used to be commit 9ac07e14873df2c18d0e9501691c2d4c4047e218)