mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Fix minor mistakes in Ldap/Connection
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
parent
ef75414066
commit
5f624e42fd
@ -375,7 +375,7 @@ class Connection
|
|||||||
throw new LdapException(
|
throw new LdapException(
|
||||||
sprintf(
|
sprintf(
|
||||||
'LDAP query "%s" (root %s) failed: %s',
|
'LDAP query "%s" (root %s) failed: %s',
|
||||||
$query,
|
$query->create(),
|
||||||
$this->root_dn,
|
$this->root_dn,
|
||||||
ldap_error($this->ds)
|
ldap_error($this->ds)
|
||||||
)
|
)
|
||||||
@ -478,7 +478,7 @@ class Connection
|
|||||||
throw new LdapException(
|
throw new LdapException(
|
||||||
sprintf(
|
sprintf(
|
||||||
'TLS is required but not announced by %s',
|
'TLS is required but not announced by %s',
|
||||||
$this->host_name
|
$this->hostname
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user