summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/ad.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index a52f5f8b2..9ae6dbbd1 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -260,6 +260,9 @@ class auth_ad extends auth_basic {
}
return true;
} catch (adLDAPException $e) {
+ if ($this->cnf['debug']) {
+ msg($e->getMessage(), -1);
+ }
$this->success = false;
$this->adldap = null;
}