Commit 7f273d7ffa91014984c7884aa3dc6038c4239566

Authored by Neil Blakey-Milner
1 parent 54f2670a

KTS-1463: Pass the TLS setting through to checkPassword


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6069 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
@@ -616,6 +616,7 @@ class KTLDAPBaseAuthenticator extends Authenticator { @@ -616,6 +616,7 @@ class KTLDAPBaseAuthenticator extends Authenticator {
616 $config = array( 616 $config = array(
617 'host' => $this->sLdapServer, 617 'host' => $this->sLdapServer,
618 'base' => $this->sBaseDN, 618 'base' => $this->sBaseDN,
  619 + 'tls' => $this->bTls,
619 ); 620 );
620 $oLdap =& Net_LDAP::connect($config); 621 $oLdap =& Net_LDAP::connect($config);
621 $res = $oLdap->reBind($dn, $sPassword); 622 $res = $oLdap->reBind($dn, $sPassword);