summaryrefslogtreecommitdiffstats
path: root/lib/Auth
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-25 16:19:30 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-25 16:19:30 +0200
commite696d412e3dcafb69d8bf98ea3e048bba4349be0 (patch)
treeeffaa58bbe710ceff08b373c06f0b4c949546ac2 /lib/Auth
parent85ff5b5a89483c0988d128291c6da717a1d91ca0 (diff)
downloadwebadmin-e696d412e3dcafb69d8bf98ea3e048bba4349be0.tar.gz
Fix completely broken group.member_list API action by fixing a mess in LDAP3
Diffstat (limited to 'lib/Auth')
-rw-r--r--lib/Auth/LDAP.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 1a0fdac..a3c8f83 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -673,7 +673,7 @@ class LDAP extends Net_LDAP3 {
return false;
}
- return $this->_list_group_members($group_dn, null, $recurse);
+ return $this->list_group_members($group_dn, null, $recurse);
}
public function list_domains($attributes = array(), $search = array(), $params = array())
@@ -817,17 +817,6 @@ class LDAP extends Net_LDAP3 {
return $this->_read($resource_dn, $attributes);
}
- public function resource_members_list($resource, $recurse = true)
- {
- $resource_dn = $this->entry_dn($resource);
-
- if (!$resource_dn) {
- return false;
- }
-
- return $this->_list_resource_members($resource_dn, null, $recurse);
- }
-
public function role_add($attrs)
{
$base_dn = $this->entry_base_dn('role', $typeid);