blob: aad40967fa14e4c9a96a46af9646b3c8731ff5b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- lib/LDAPEngine.class.php.orig 2007-06-14 19:00:15 UTC
+++ lib/LDAPEngine.class.php
@@ -93,7 +93,7 @@ class LDAPEngine {
/**
* LDAPEngine constructor to initialize object
*/
- function LDAPEngine() {
+ function __construct() {
global $conf;
$this->serverType = strtolower($conf['auth']['serverType']);
@@ -283,6 +283,7 @@ class LDAPEngine {
*/
function searchUserDN($searchFilter) {
+ $dn = "";
switch ($this->serverType) {
case "ldap":
if ( $this->searchUser != '' ) {
|