}
static NTSTATUS authsam_authenticate(struct auth4_context *auth_context,
- TALLOC_CTX *mem_ctx, struct ldb_context *sam_ctx,
+ TALLOC_CTX *mem_ctx,
struct ldb_dn *domain_dn,
struct ldb_message *msg,
const struct auth_usersupplied_info *user_info,
}
/* See whether an authentication policy applies to the client. */
- ret = authn_policy_ntlm_client(sam_ctx,
+ ret = authn_policy_ntlm_client(auth_context->sam_ctx,
tmp_ctx,
msg,
&authn_client_policy);
nt_status = authsam_authenticate(ctx->auth_ctx,
tmp_ctx,
- ctx->auth_ctx->sam_ctx,
domain_dn,
msg,
user_info,