summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-09-06 11:46:59 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-09-06 11:46:59 +0000
commiteec38ee3bb4bceeaa82abf8df1cce92b6a5781ce (patch)
tree505c354bdb503f732dce311a8e823af2415efe38 /source3/smbd
parentc4d1f9a1e8961c051eb1cee2aa9d93b1b120d836 (diff)
downloadsamba-eec38ee3bb4bceeaa82abf8df1cce92b6a5781ce.tar.gz
samba-eec38ee3bb4bceeaa82abf8df1cce92b6a5781ce.tar.bz2
samba-eec38ee3bb4bceeaa82abf8df1cce92b6a5781ce.zip
Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett (This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index c37c655fd1..0253422596 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -313,6 +313,9 @@ static int reply_spnego_negotiate(connection_struct *conn,
NTLMSSP_NEGOTIATE_128 |
NTLMSSP_NEGOTIATE_NTLM |
NTLMSSP_CHAL_TARGET_INFO;
+
+ if (neg_flags & NTLMSSP_NEGOTIATE_NTLM2)
+ chal_flags |= NTLMSSP_NEGOTIATE_NTLM2;
{
DATA_BLOB domain_blob, struct_blob;