summaryrefslogtreecommitdiff
path: root/source4/auth/auth_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_domain.c')
-rw-r--r--source4/auth/auth_domain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_domain.c b/source4/auth/auth_domain.c
index 4e5acf36e3..041135e4d4 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) {