From 7d977da92554c34539a475feb7dcb0a6dc0ad654 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 30 Dec 2009 14:13:45 +0100 Subject: s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner --- source3/winbindd/winbindd_ccache_access.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_ccache_access.c b/source3/winbindd/winbindd_ccache_access.c index f8f57f6add..ff5c8408f4 100644 --- a/source3/winbindd/winbindd_ccache_access.c +++ b/source3/winbindd/winbindd_ccache_access.c @@ -54,7 +54,11 @@ static NTSTATUS do_ntlm_auth_with_hashes(const char *username, struct ntlmssp_state *ntlmssp_state = NULL; DATA_BLOB dummy_msg, reply; - status = ntlmssp_client_start(&ntlmssp_state); + status = ntlmssp_client_start(NULL, + global_myname(), + lp_workgroup(), + lp_client_ntlmv2_auth(), + &ntlmssp_state); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("Could not start NTLMSSP client: %s\n", -- cgit