From 6943c49c0560d057c7672365ddd1b70c0819f902 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Wed, 5 Apr 2017 11:59:29 +0000 Subject: [PATCH] More debug (#707) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm index 6ec80dff2..4650c84d0 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm @@ -65,6 +65,9 @@ sub extractFormInfo { $status = $gss_client_name->display($client_name); unless ($status) { $self->logger->error('Unable to display KRB client name'); + foreach ( $status->generic_message(), $status->specific_message() ) { + $self->logger->error($_); + } return PE_ERROR; } $req->user($client_name);