From abcb546269ab842fe701eed29be47e58d6c06601 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Jul 2019 15:50:12 +0100 Subject: missing LDAP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since... Make LDAP support optional commit 6776c53b7ce2e431d8636f4e5a755f50f787ec8f Date: Tue Jan 8 04:53:51 2019 -0500 Change-Id: I4268169809b0dc68b347b28523500453394937de Reviewed-on: https://gerrit.libreoffice.org/75865 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- extensions/source/config/ldap/ldapuserprofilebe.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extensions/source') diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx index cbf04fd6b027..9e5460b7b5fd 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.cxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -138,9 +139,10 @@ bool LdapUserProfileBe::readLdapConfiguration( getLdapStringParam(xAccess, kUser, definition->mAnonUser); getLdapStringParam(xAccess, kPassword, definition->mAnonCredentials); } - catch (const uno::Exception & e) + catch (const uno::Exception&) { - SAL_WARN("extensions.config", "LdapUserProfileBackend: access to configuration data failed: " << e); + css::uno::Any ex(DbgGetCaughtException()); + SAL_WARN("extensions.config", "LdapUserProfileBackend: access to configuration data failed: " << exceptionToString(ex)); return false; } -- cgit