summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-16 01:27:46 +0000
committerJeremy Allison <jra@samba.org>2003-09-16 01:27:46 +0000
commit1555cacd7c7814571ed8bb91a0d3a722cf7dc30b (patch)
tree4a0ee4d5de0795fe269915c14c9a3324d2fcd0cb /source3/libsmb/ntlmssp.c
parent2c21d31c92aeed99016d609a2e8e736016fdd9c7 (diff)
downloadsamba-1555cacd7c7814571ed8bb91a0d3a722cf7dc30b.tar.gz
samba-1555cacd7c7814571ed8bb91a0d3a722cf7dc30b.tar.bz2
samba-1555cacd7c7814571ed8bb91a0d3a722cf7dc30b.zip
Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains. Jeremy. (This used to be commit c816aacefb6621533194a374251835f186ca838f)
Diffstat (limited to 'source3/libsmb/ntlmssp.c')
-rw-r--r--source3/libsmb/ntlmssp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 42bf18d1d2..c51b599b04 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -692,6 +692,12 @@ NTSTATUS ntlmssp_client_start(NTLMSSP_CLIENT_STATE **ntlmssp_state)
NTLMSSP_NEGOTIATE_NTLM |
NTLMSSP_NEGOTIATE_NTLM2 |
NTLMSSP_NEGOTIATE_KEY_EXCH |
+ /*
+ * We need to set this to allow a later SetPassword
+ * via the SAMR pipe to succeed. Strange.... We could
+ * also add NTLMSSP_NEGOTIATE_SEAL here. JRA.
+ * */
+ NTLMSSP_NEGOTIATE_SIGN |
NTLMSSP_REQUEST_TARGET;
(*ntlmssp_state)->ref_count = 1;