diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 17:55:57 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 17:55:57 +0100 |
commit | 8c4e2eb49deec55485e86330ddddc26e584d8e1b (patch) | |
tree | eff8b33f8228898a8e3754bf0bf1ec0f81d89307 /source4/auth/ntlm/auth_sam.c | |
parent | 7ec720af714fab17fcbba3febff0c162775c8186 (diff) | |
download | samba-8c4e2eb49deec55485e86330ddddc26e584d8e1b.tar.gz samba-8c4e2eb49deec55485e86330ddddc26e584d8e1b.tar.bz2 samba-8c4e2eb49deec55485e86330ddddc26e584d8e1b.zip |
Remove use of lp_*() from ntlm_check.c.
Diffstat (limited to 'source4/auth/ntlm/auth_sam.c')
-rw-r--r-- | source4/auth/ntlm/auth_sam.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c index 78429106f6..d1be5b6e30 100644 --- a/source4/auth/ntlm/auth_sam.c +++ b/source4/auth/ntlm/auth_sam.c @@ -185,7 +185,7 @@ static NTSTATUS authsam_password_ok(struct auth_context *auth_context, *lm_sess_key = data_blob(NULL, 0); *user_sess_key = data_blob(NULL, 0); status = hash_password_check(mem_ctx, - auth_context->lp_ctx, + lp_lanman_auth(auth_context->lp_ctx), user_info->password.hash.lanman, user_info->password.hash.nt, user_info->mapped.account_name, @@ -195,7 +195,8 @@ static NTSTATUS authsam_password_ok(struct auth_context *auth_context, case AUTH_PASSWORD_RESPONSE: status = ntlm_password_check(mem_ctx, - auth_context->lp_ctx, + lp_lanman_auth(auth_context->lp_ctx), + lp_ntlm_auth(auth_context->lp_ctx), user_info->logon_parameters, &auth_context->challenge.data, &user_info->password.response.lanman, |