Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / tabs_winstation.inc
index 2b884c1d83fcbfac2dbdb47381f0ffff1c8fcaa7..cada48b8034fbce207836de5f0af9901cebfbce7 100644 (file)
@@ -17,11 +17,17 @@ class wintabs extends tabs
   }
 
 
-  function save()
+  function save($ignore_account= FALSE)
   {
     /* Check for new 'dn', in order to propagate the
        'dn' to all plugins */
+
+    /* add $ to end of name if mising */
     $baseobject= $this->by_object['wingeneric'];
+    if(!preg_match("/\\\$\$/",$baseobject->cn)){
+      $baseobject->cn .= "$";
+    }
+
     $this->dn= "uid=$baseobject->cn,".get_winstations_ou().$baseobject->base;
     $baseobject->dn= $this->dn;