diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-05-05 14:47:23 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-05-17 11:06:52 +0200 |
commit | 8a6e9b060334bab4d8d2ddcbdb4de32241c7f7e1 (patch) | |
tree | fe2047a51a3e6de6e122f602fb76af934dfa1172 /inc/auth | |
parent | 59cecab437669b6edeccb87d82e5aa2024c82b89 (diff) | |
download | rpg-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.php | 3 |
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; } |