* failed.
*/
static bool need_to_increment_bad_pw_count(
- const struct auth_context *auth_context,
+ const DATA_BLOB *challenge,
struct samu* sampass,
const struct auth_usersupplied_info *user_info)
{
status = sam_password_ok(mem_ctx,
username, acct_ctrl,
- &auth_context->challenge,
+ challenge,
NULL, nt_pw,
user_info, &user_sess_key, &lm_sess_key);
if (NT_STATUS_IS_OK(status)) {
NT_STATUS_IS_OK(update_login_attempts_status))
{
increment_bad_pw_count =
- need_to_increment_bad_pw_count(auth_context,
- sampass,
- user_info);
+ need_to_increment_bad_pw_count(
+ &auth_context->challenge, sampass,
+ user_info);
}
if (increment_bad_pw_count) {