From: Craig Holyoak Date: Fri, 19 Feb 2021 03:42:17 +0000 (+0100) Subject: baculum: Fix #2597 LDAP login with LDAPS option X-Git-Tag: Release-11.0.2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b6e73880ad7b8212f87c6f70cb7cb30f468433;p=thirdparty%2Fbacula.git baculum: Fix #2597 LDAP login with LDAPS option --- diff --git a/gui/baculum/protected/Common/Class/Ldap.php b/gui/baculum/protected/Common/Class/Ldap.php index 0a55f50fc..d9ebf9475 100644 --- a/gui/baculum/protected/Common/Class/Ldap.php +++ b/gui/baculum/protected/Common/Class/Ldap.php @@ -228,7 +228,7 @@ class Ldap extends CommonModule { */ public function getLdapUri() { $protocol = self::PROTOCOL_PLAIN; - if (key_exists('ldaps', $this->params) && $this->params['ldaps'] === 1) { + if (key_exists('ldaps', $this->params) && $this->params['ldaps'] == 1) { $protocol = self::PROTOCOL_SSL; } return sprintf(