Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -1487,8 +1487,8 @@ |
1488 | 1488 | if ( $dn != "*" ) { |
1489 | 1489 | $PGfilter = "(&(distinguishedName=$value)(objectclass=user))"; |
1490 | 1490 | $this->printDebug( "User Filter: $PGfilter", SENSITIVE ); |
1491 | | - $PGinfo = @ldap_search( $ldapconn, $base, $PGfilter ); |
1492 | | - $PGentries = @ldap_get_entries( $ldapconn, $PGinfo ); |
| 1491 | + $PGinfo = @ldap_search( $this->ldapconn, $base, $PGfilter ); |
| 1492 | + $PGentries = @ldap_get_entries( $this->ldapconn, $PGinfo ); |
1493 | 1493 | if ( $PGentries ) { |
1494 | 1494 | $Usid = $PGentries[0]['objectsid'][0]; |
1495 | 1495 | $PGrid = $PGentries[0]['primarygroupid'][0]; |
— | — | @@ -1510,8 +1510,8 @@ |
1511 | 1511 | } |
1512 | 1512 | $PGfilter = "(&(objectSid=$PGsid_string)(objectclass=$objectclass))"; |
1513 | 1513 | $this->printDebug( "Primary Group Filter: $PGfilter", SENSITIVE ); |
1514 | | - $info = @ldap_search( $ldapconn, $base, $PGfilter ); |
1515 | | - $PGentries = @ldap_get_entries( $ldapconn, $info ); |
| 1514 | + $info = @ldap_search( $this->ldapconn, $base, $PGfilter ); |
| 1515 | + $PGentries = @ldap_get_entries( $this->ldapconn, $info ); |
1516 | 1516 | array_shift( $PGentries ); |
1517 | 1517 | $dnMember = strtolower( $PGentry[0]['dn'] ); |
1518 | 1518 | $groups["dn"][] = $dnMember; |