From 3f181bce75f71a5e78eb7985c4153b44c2c7795f Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 22 Jul 2009 11:56:44 +0000 Subject: [PATCH] Applied patch from LHM 13944 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_FAI.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-plugins/fai/admin/fai/class_FAI.inc b/gosa-plugins/fai/admin/fai/class_FAI.inc index 78861fb18..0ec587a46 100644 --- a/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -536,6 +536,13 @@ class FAI */ $rTag = FAI::get_release_tag(FAI::get_release_dn($key)); $parent_attrs['FAIstate'] = $rTag; + + /* FAItemplateFile can be binary, therefore it needs to be fetched with + * $ldap->get_attribute */ + if (isset($parent_attrs['FAItemplateFile'])) { + $parent_attrs['FAItemplateFile'] = $ldap->get_attribute($parent_obj, 'FAItemplateFile'); + } + FAI::save_FAI_object($key,$parent_attrs); } } -- 2.30.2