summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3df3e3e)
raw | patch | inline | side by side (parent: 3df3e3e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Jan 2007 05:48:32 +0000 (05:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Jan 2007 05:48:32 +0000 (05:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5604 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/acl/class_aclManagement.inc | patch | blob | history |
index 9d5757197620a6a26d2adb196534b955269b5148..9e33b9bb057b992b2a682a49ec21ca793727bcca 100644 (file)
function reload()
{
- #FIXME Implement regex objectClass and so on ...
/* Get divlist informations from filter part */
$Regex = $this->DivListACL -> Regex;
$SubSearch = $this->DivListACL -> SubSearch;
$fetch_base = $base;
$tmp = get_list($Filter, "acl", $fetch_base, $Attrs, $Flags);
foreach($tmp as $entry){
- $res[$entry['dn']] = $entry;
+ $res[] = $entry;
}
}else{
if($Type == "search"){
$tmp = get_list($Filter, "acl", $fetch_base, $Attrs, $Flags);
foreach($tmp as $entry){
- $res[$entry['dn']] = $entry;
+ $res[] = $entry;
}
}else{
$ldap->cat($fetch_base,$Attrs);
if( (isset($attrs['cn'][0]) && preg_match("/".$re2."/i",$attrs['cn'][0]))
|(isset($attrs['ou'][0]) && preg_match("/".$re2."/i",$attrs['ou'][0]))){
- $res[$attrs['dn']] = $attrs;
+ $res[] = $attrs;
}
}
}