summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f600636)
raw | patch | inline | side by side (parent: f600636)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Jul 2009 08:57:41 +0000 (08:57 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Jul 2009 08:57:41 +0000 (08:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13929 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc b/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc
index 9f0805f7f4b0acdba775c73fad286089952aeec7..2922694972d0b5606474214f985d3be3fdfeef3d 100644 (file)
global $config;
$Current_DN = $dn;
- /* special case partitions, as they don't start with cn= in their DN (schema bug?) */
- if (preg_match('/^FAIpartitionNr=/', $Current_DN)){
+ /* special case partitions and debconf variables, as they don't start with cn= in their DN */
+ if (preg_match('/^(FAIpartitionNr|FAIvariable)=/', $Current_DN)){
return false;
}
$tmp_dn = $Current_DN;
$parent_dn = array();
- /* special case partitions, as they don't start with cn= in their DN (schema bug?) */
- $tmp_dn = preg_replace('/^FAIpartitionNr=/', 'cn=', $tmp_dn);
+ /* special case partitions and debconf variables, as they don't start with cn= in their DN */
+ $tmp_dn = preg_replace('/^(FAIpartitionNr|FAIvariable)=/', 'cn=', $tmp_dn);
$tmp_dn = gosa_ldap_explode_dn($tmp_dn);
while(preg_match('/^cn=/', $tmp_dn[$i])) {