diff options
-rw-r--r-- | source3/auth/auth_winbind.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c index dcf7e419c1..603ec9b410 100644 --- a/source3/auth/auth_winbind.c +++ b/source3/auth/auth_winbind.c @@ -98,9 +98,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context, if ( auth_method ) return auth_method->auth(auth_context, auth_method->private_data, mem_ctx, user_info, server_info); - else - /* log an error since this should not happen */ - DEBUG(0,("check_winbind_security: ERROR! my_private_data == NULL!\n")); + return NT_STATUS_LOGON_FAILURE; } if (wbc_status == WBC_ERR_AUTH_ERROR) { |