summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba03e45)
raw | patch | inline | side by side (parent: ba03e45)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 15:43:10 +0000 (15:43 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 15:43:10 +0000 (15:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10306 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
index 32d129c424ccd6a9bfa08fb7ac9831ade57d4a58..379b53f6caaf22564599b596226838390aeea5f1 100644 (file)
$addObj['diff'] = FALSE;
}
}
+ }else{
+# $ldap = $config->get_ldap_link();
+# $ldap->cd($config->current['BASE']);
+# $ldap->cat(FAI::get_parent_release_object($Current_DN,TRUE));
+#
+# $attrs = $ldap->fetch();
+# if($attrs){
+# $cn = $attrs['cn'][0];
+#
+# $profiles = FAI::get_all_objects_for_given_base(FAI::get_release_dn($Current_DN),"(&(objectClass=FAIprofile)(FAIclass=".$cn."))");
+# print_a($profiles);
+# foreach($profiles as $dn){
+#
+# $ldap->cat($dn);
+# $attrs = FAI::prepare_ldap_fetch_to_be_saved($ldap->fetch());
+# print_a($attrs);
+# if($attrs){
+#
+# if(in_array($cn,$attrs['FAIclass'])){
+#
+# }
+# }
+# }
+# }
}
+
+
+
$FAI_objects_to_save = session::get('FAI_objects_to_save') ;
$FAI_objects_to_save[$Current_DN] = $addObj;
session::set('FAI_objects_to_save',$FAI_objects_to_save);