summaryrefslogtreecommitdiffstats
path: root/source/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
commitc816aacefb6621533194a374251835f186ca838f (patch)
treee7c7247edc7296c75e1562168942200aeae53811 /source/libsmb/ntlmssp.c
parentc8bfde5be9f0a3603f7333ff4266ad19c20cb9f9 (diff)
downloadsamba-c816aacefb6621533194a374251835f186ca838f.tar.gz
samba-c816aacefb6621533194a374251835f186ca838f.tar.xz
samba-c816aacefb6621533194a374251835f186ca838f.zip
Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains. Jeremy.
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r--source/libsmb/ntlmssp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c
index 42bf18d1d26..c51b599b041 100644
--- a/source/libsmb/ntlmssp.c
+++ b/source/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;