mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 13:00:14 +01:00
fix error reported ldap instead of ldaps
This commit is contained in:
parent
2b61bf0303
commit
1d26a1cb6c
@ -1474,7 +1474,7 @@ class adLDAP extends \adLDAP
|
|||||||
*/
|
*/
|
||||||
public function getLastError()
|
public function getLastError()
|
||||||
{
|
{
|
||||||
$url = $this->useTLS ? 'ldaps://' : 'ldap://';
|
$url = $this->useSSL ? 'ldaps://' : 'ldap://';
|
||||||
if (!empty($this->adminUsername)) $url .= $this->adminUsername.$this->accountSuffix.'@';
|
if (!empty($this->adminUsername)) $url .= $this->adminUsername.$this->accountSuffix.'@';
|
||||||
$url .= implode(',', $this->domainControllers);
|
$url .= implode(',', $this->domainControllers);
|
||||||
if (!empty($this->adPort)) $url .= ':'.$this->adPort;
|
if (!empty($this->adPort)) $url .= ':'.$this->adPort;
|
||||||
|
Loading…
Reference in New Issue
Block a user