1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

added NTLMSSP authentication to libsmb. It seems to work well so I have enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM

This commit is contained in:
Andrew Tridgell
-
parent 4f12df9fc5
commit 076aa97bee
9 changed files with 608 additions and 293 deletions

View File

@@ -128,7 +128,7 @@ struct cli_state {
uint16 max_recv_frag;
vuser_key key;
uint32 ntlmssp_flags;
BOOL use_spnego; /* until we do NTLMSSP we need to make this optional */
BOOL use_kerberos;
BOOL use_oplocks; /* should we use oplocks? */
BOOL use_level_II_oplocks; /* should we use level II oplocks? */