]> git.pld-linux.org Git - packages/cacti.git/blob - ldap_group_authenication.patch
- Add patch from date 2010/07/27 more info http://www.cacti.net/download_patches.php
[packages/cacti.git] / ldap_group_authenication.patch
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
3 @@ -250,7 +250,7 @@
4                         if ($ldap_response) {
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);
10                                         } else {
11                                                 $ldap_group_response = @ldap_compare($ldap_conn, $this->group_dn, $this->group_attrib, $this->username);
This page took 0.074462 seconds and 3 git commands to generate.