for (method=state->auth_ctx->methods; method; method = method->next) {
- if (state->user_info->flags & USER_INFO_LOCAL_SAM_ONLY
- && !(method->ops->flags & AUTH_METHOD_LOCAL_SAM)) {
- continue;
- }
-
/* we fill in state->method here so debug messages in
the callers know which method failed */
state->method = method;
.want_check = authsam_ignoredomain_want_check,
.check_password = authsam_check_password_internals,
.get_user_info_dc_principal = authsam_get_user_info_dc_principal_wrapper,
- .flags = AUTH_METHOD_LOCAL_SAM
};
static const struct auth_operations sam_ops = {
.want_check = authsam_want_check,
.check_password = authsam_check_password_internals,
.get_user_info_dc_principal = authsam_get_user_info_dc_principal_wrapper,
- .flags = AUTH_METHOD_LOCAL_SAM
};
_PUBLIC_ NTSTATUS auth4_sam_init(void);