diff --git a/source4/auth/auth_domain.c b/source4/auth/auth_domain.c index 4e5acf36e36..041135e4d42 100644 --- a/source4/auth/auth_domain.c +++ b/source4/auth/auth_domain.c @@ -49,6 +49,8 @@ static NTSTATUS domain_check_password(struct auth_method_context *ctx, if (bindings && bindings[0]) { binding = bindings[0]; + } else { + return NT_STATUS_INVALID_PARAMETER; } if (!user_info->account_name) {