summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-12 04:49:42 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-12 04:49:42 +0000
commit9f7cb41f11c0d2fc09104f6998f75c59bc363b26 (patch)
treeef023f03e5ea53a178c2d874a682f607e13f6397 /source3/include
parent8632b44f6ba2a1b8698c62778dc6547bed4bae92 (diff)
downloadsamba-9f7cb41f11c0d2fc09104f6998f75c59bc363b26.tar.gz
samba-9f7cb41f11c0d2fc09104f6998f75c59bc363b26.tar.bz2
samba-9f7cb41f11c0d2fc09104f6998f75c59bc363b26.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/asn1.h1
-rw-r--r--source3/include/client.h2
2 files changed, 2 insertions, 1 deletions
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? */