summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-30 14:13:45 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:55 +0100
commit7d977da92554c34539a475feb7dcb0a6dc0ad654 (patch)
treeb72b62b56382fa3e001890c7f98726c7458f3b26 /source3/utils
parent55279dfbe3770563016723c3ba7d1dbbec3d4437 (diff)
downloadsamba-7d977da92554c34539a475feb7dcb0a6dc0ad654.tar.gz
samba-7d977da92554c34539a475feb7dcb0a6dc0ad654.tar.bz2
samba-7d977da92554c34539a475feb7dcb0a6dc0ad654.zip
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 487401b662..929c11f5a9 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -645,7 +645,11 @@ static NTSTATUS ntlm_auth_start_ntlmssp_client(struct ntlmssp_state **client_ntl
return NT_STATUS_INVALID_PARAMETER;
}
- status = ntlmssp_client_start(client_ntlmssp_state);
+ status = ntlmssp_client_start(NULL,
+ global_myname(),
+ lp_workgroup(),
+ lp_client_ntlmv2_auth(),
+ client_ntlmssp_state);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Could not start NTLMSSP client: %s\n",