summaryrefslogtreecommitdiff
path: root/source3/auth/auth_wbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_wbc.c')
-rw-r--r--source3/auth/auth_wbc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/auth/auth_wbc.c b/source3/auth/auth_wbc.c
index e4fffc7cf8..6beec73456 100644
--- a/source3/auth/auth_wbc.c
+++ b/source3/auth/auth_wbc.c
@@ -95,8 +95,11 @@ static NTSTATUS check_wbc_security(const struct auth_context *auth_context,
params.password.response.nt_data = user_info->password.response.nt.data;
params.password.response.lm_length = user_info->password.response.lanman.length;
params.password.response.lm_data = user_info->password.response.lanman.data;
+ default:
+ DEBUG(0,("user_info constructed for user '%s' was invalid - password_state=%u invalid.\n",user_info->mapped.account_name, user_info->password_state));
+ return NT_STATUS_INTERNAL_ERROR;
}
-#if 0
+#if 0 /* If ever implemented in libwbclient */
case AUTH_PASSWORD_HASH:
{
DEBUG(3,("Checking logon (hash) password for %s.\n",