LM authentication is very weak and a very bad idea, so has been deprecated since
Samba 4.11.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
case AUTH_PASSWORD_RESPONSE:
status = ntlm_password_check(mem_ctx,
- lpcfg_lanman_auth(auth_context->lp_ctx),
- lpcfg_ntlm_auth(auth_context->lp_ctx),
+ false,
+ lpcfg_ntlm_auth(auth_context->lp_ctx),
user_info->logon_parameters,
&auth_context->challenge.data,
&user_info->password.response.lanman,