Better error message in LDAP connection capability test
This commit is contained in:
parent
14ff354a76
commit
2288751aaf
|
@ -410,7 +410,9 @@ class Connection
|
||||||
if (! $result) {
|
if (! $result) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
sprintf(
|
sprintf(
|
||||||
'Capability query failed: %s',
|
'Capability query failed (%s:%d): %s',
|
||||||
|
$this->hostname,
|
||||||
|
$this->port,
|
||||||
ldap_error($ds)
|
ldap_error($ds)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue