summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/ntlmssp_wrap.c')
-rw-r--r--source3/libsmb/ntlmssp_wrap.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c
index 6f854f25cd..5f8e246398 100644
--- a/source3/libsmb/ntlmssp_wrap.c
+++ b/source3/libsmb/ntlmssp_wrap.c
@@ -176,10 +176,7 @@ NTSTATUS auth_ntlmssp_update(struct auth_ntlmssp_state *ans,
return status;
}
-NTSTATUS auth_ntlmssp_client_start(TALLOC_CTX *mem_ctx,
- const char *netbios_name,
- const char *netbios_domain,
- bool use_ntlmv2,
+NTSTATUS auth_ntlmssp_client_prepare(TALLOC_CTX *mem_ctx,
struct auth_ntlmssp_state **_ans)
{
struct auth_ntlmssp_state *ans;
@@ -188,8 +185,8 @@ NTSTATUS auth_ntlmssp_client_start(TALLOC_CTX *mem_ctx,
ans = talloc_zero(mem_ctx, struct auth_ntlmssp_state);
status = ntlmssp_client_start(ans,
- netbios_name, netbios_domain,
- use_ntlmv2, &ans->ntlmssp_state);
+ lp_netbios_name(), lp_workgroup(),
+ lp_client_ntlmv2_auth(), &ans->ntlmssp_state);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
@@ -197,3 +194,10 @@ NTSTATUS auth_ntlmssp_client_start(TALLOC_CTX *mem_ctx,
*_ans = ans;
return NT_STATUS_OK;
}
+
+NTSTATUS auth_ntlmssp_client_start(struct auth_ntlmssp_state *ans)
+{
+ NTSTATUS status;
+
+ return NT_STATUS_OK;
+}