1 --- cacti-0.8.7g/lib/ldap.php 2010-07-09 18:33:46.000000000 -0400
2 +++ cacti-0.8.7g-patched/lib/ldap.php 2010-07-27 21:30:31.000000000 -0400
5 if ($this->group_require == 1) {
6 /* Process group membership if required */
7 - if ($ldap_group_member_type == 1) {
8 + if ($this->group_member_type == 1) {
9 $ldap_group_response = @ldap_compare($ldap_conn, $this->group_dn, $this->group_attrib, $this->dn);
11 $ldap_group_response = @ldap_compare($ldap_conn, $this->group_dn, $this->group_attrib, $this->username);