summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-07 01:01:10 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-07 01:01:10 +0000
commit99c431695ce723fcdd77c455e8363a355519929b (patch)
tree2f1f821c4476f211a5b26892f619947c60fec688 /source3/smbd/negprot.c
parent8d0eb004a023ffcb4dd30d12059d6659ed39ea51 (diff)
downloadsamba-99c431695ce723fcdd77c455e8363a355519929b.tar.gz
samba-99c431695ce723fcdd77c455e8363a355519929b.tar.bz2
samba-99c431695ce723fcdd77c455e8363a355519929b.zip
added a "use spnego" option
you need to set "use spnego = no" for w2k to be able to join a samba domain. Otherwise the w2k box will assume we can do kerberos as a KDC (This used to be commit b5cb57a367a6d9a82e082e2838e83e0997eb4930)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index b99d239540..d3afa19d00 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -227,6 +227,7 @@ static int reply_nt1(char *inbuf, char *outbuf)
if (global_encrypted_passwords_negotiated &&
(lp_security() != SEC_SHARE) &&
+ lp_use_spnego() &&
(SVAL(inbuf, smb_flg2) & FLAGS2_EXTENDED_SECURITY)) {
negotiate_spnego = True;
capabilities |= CAP_EXTENDED_SECURITY;