mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +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()
|
||||
{
|
||||
$url = $this->useTLS ? 'ldaps://' : 'ldap://';
|
||||
$url = $this->useSSL ? 'ldaps://' : 'ldap://';
|
||||
if (!empty($this->adminUsername)) $url .= $this->adminUsername.$this->accountSuffix.'@';
|
||||
$url .= implode(',', $this->domainControllers);
|
||||
if (!empty($this->adPort)) $url .= ':'.$this->adPort;
|
||||
|
Loading…
Reference in New Issue
Block a user