From 9f7cb41f11c0d2fc09104f6998f75c59bc363b26 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 Oct 2001 04:49:42 +0000 Subject: 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 used to be commit 076aa97bee54d182288d9e93ae160ae22a5f7757) --- source3/include/asn1.h | 1 + source3/include/client.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/asn1.h b/source3/include/asn1.h index 183a9ced6c..8d9bb158c8 100644 --- a/source3/include/asn1.h +++ b/source3/include/asn1.h @@ -42,5 +42,6 @@ typedef struct { #define ASN1_OCTET_STRING 0x4 #define ASN1_OID 0x6 #define ASN1_BOOLEAN 0x1 +#define ASN1_ENUMERATED 0xa #define ASN1_MAX_OIDS 20 diff --git a/source3/include/client.h b/source3/include/client.h index 24a9d47090..22ea10b9a7 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -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? */ -- cgit