summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-15 12:52:38 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-15 12:52:38 +0000
commit58fe4d9c20203f6f55c8e995402e156becb91b3e (patch)
treed357827fbbc9caed4796b498498f7667f0368e91 /source3/libsmb/cliconnect.c
parent3095cbd63526ae474482e45175695b9fdf41cd3e (diff)
downloadsamba-58fe4d9c20203f6f55c8e995402e156becb91b3e.tar.gz
samba-58fe4d9c20203f6f55c8e995402e156becb91b3e.tar.bz2
samba-58fe4d9c20203f6f55c8e995402e156becb91b3e.zip
Refactor the NTLMSSP code again - this time we use function pointers to
eliminate the dependency on the auth subsystem. The next step is to add the required code to 'ntlm_auth', for export to Squid etc. Andrew Bartlett (This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index cc3aaf92be..389b7a1733 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -465,7 +465,8 @@ static BOOL cli_session_setup_ntlmssp(struct cli_state *cli, const char *user,
neg_flags = NTLMSSP_NEGOTIATE_UNICODE |
NTLMSSP_NEGOTIATE_128 |
- NTLMSSP_NEGOTIATE_NTLM;
+ NTLMSSP_NEGOTIATE_NTLM |
+ NTLMSSP_REQUEST_TARGET;
memset(sess_key, 0, 16);