Code

Added freeze/branch when creating a new release
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 08:52:10 +0000 (08:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Jul 2006 08:52:10 +0000 (08:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4061 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 990e43dd368793404873d3ee4defbe5851cad1df..152830c966e2f1ed4a87ce34f485d886b53218a4 100644 (file)
@@ -403,7 +403,8 @@ class faiManagement extends plugin
 
       $attr = array();
       $attr['objectClass'] = array("organizationalUnit","FAIbranch");
-      $attr['ou'] = $name;
+      $attr['ou']       = $name;
+      $attr['FAIstate'] = $type;
       $ldap->cd($this->config->current['BASE']);
       $ldap->cd("ou=".$name.",".$baseToUse);
       $ldap->cat("ou=".$name.",".$baseToUse);