mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 11:11:49 +01:00
fix error reported ldap instead of ldaps
This commit is contained in:
parent
8221ed217f
commit
710b28396d
@ -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