summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-05-05 14:47:23 +0200
committerAdrian Lang <lang@cosmocode.de>2010-05-17 11:06:52 +0200
commit8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1 (patch)
treefe2047a51a3e6de6e122f602fb76af934dfa1172 /inc/auth
parent59cecab437669b6edeccb87d82e5aa2024c82b89 (diff)
downloadrpg-8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1.tar.gz
rpg-8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1.tar.bz2
Add debug message for adLDAP class construction
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;
}