summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9feb08)
raw | patch | inline | side by side (parent: e9feb08)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Aug 2009 09:03:54 +0000 (09:03 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Aug 2009 09:03:54 +0000 (09:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14101 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filterLDAP.inc | patch | blob | history |
index f0f8ca740881a3574c67d49140cbc96ee3d4e650..53084d28a2463c119143d842c47c24838d3ecf1e 100644 (file)
// Initialize search bases
$bases= array();
- // Get list of sub bases to search on and fill dn components to search for
- $components= array();
+ // Get list of sub bases to search on
foreach ($objectStorage as $oc) {
$oc= preg_replace('/,$/', '', $oc);
$tmp= split(',', $oc);
if (count($tmp) == 1) {
preg_match('/([^=]+)=(.*)$/', $oc, $m);
- $components[]= $m[1].":dn:=".$m[2];
if ($flags & GL_SUBSEARCH) {
$bases[$base][]= $m[1].":dn:=".$m[2];
} else {
// No, there's no \, in pre defined RDN values
preg_match('/^([^,]+),(.*)$/', $oc, $matches);
preg_match('/([^=]+)=(.*)$/', $matches[1], $m);
- $components[]= $m[1].":dn:=".$m[2];
if ($flags & GL_SUBSEARCH) {
$bases[$base][]= $m[1].":dn:=".$m[2];
} else {