s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
[samba.git] / source3 / winbindd / winbindd_ccache_access.c
index f8f57f6add9779aad2d4134433911a1e1756d7f0..ff5c8408f4b4d9b67986ecf9da4f18757ff35855 100644 (file)
@@ -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",