Commit 30293a21fef6ba617dfb07a91c17649f1bc4e13e

Authored by Michael Joseph
1 parent 3c095b73

corrected constructor name


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@839 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/authentication/LDAPAuthenticator.inc
@@ -35,7 +35,7 @@ class LDAPAuthenticator extends Authenticator { @@ -35,7 +35,7 @@ class LDAPAuthenticator extends Authenticator {
35 * @param string the LDAP server to connect to for validation (optional) 35 * @param string the LDAP server to connect to for validation (optional)
36 * @param string the dn branch to perform the authentication against (optional) 36 * @param string the dn branch to perform the authentication against (optional)
37 */ 37 */
38 - function LDAPAuthentication($sLdapServer = "", $sLdapDN = "") { 38 + function LDAPAuthenticator($sLdapServer = "", $sLdapDN = "") {
39 global $default; 39 global $default;
40 40
41 $this->sLdapServer = strlen($sLdapServer) > 0 ? $sLdapServer : $default->system->get("ldapServer"); 41 $this->sLdapServer = strlen($sLdapServer) > 0 ? $sLdapServer : $default->system->get("ldapServer");
@@ -70,7 +70,6 @@ class LDAPAuthenticator extends Authenticator { @@ -70,7 +70,6 @@ class LDAPAuthenticator extends Authenticator {
70 */ 70 */
71 function searchUsers($sUserNameSearch, $aAttributes) { 71 function searchUsers($sUserNameSearch, $aAttributes) {
72 global $default; 72 global $default;
73 -  
74 // connect and search 73 // connect and search
75 if ( $this->oLdap->connect() ) { 74 if ( $this->oLdap->connect() ) {
76 // search for the users 75 // search for the users