X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Ftabs_winstation.inc;h=73cd77f4dca5c1745942a07b8b961c99ca8b5b04;hb=269b6da4461630896e0af284cca9742b9f819f2b;hp=b1b144b4dc7caf4537d1e0dfcad509fb6f1d6c61;hpb=16729d27cb0bf909b725064a19a7c9d46ba617d2;p=gosa.git diff --git a/plugins/admin/systems/tabs_winstation.inc b/plugins/admin/systems/tabs_winstation.inc index b1b144b4d..73cd77f4d 100644 --- a/plugins/admin/systems/tabs_winstation.inc +++ b/plugins/admin/systems/tabs_winstation.inc @@ -3,9 +3,12 @@ class wintabs extends tabs { - function wintabs($config, $data, $dn) + function wintabs($config, $data, $dn,$category) { - tabs::tabs($config, $data, $dn); + tabs::tabs($config, $data, $dn,$category); + + /* Add references/acls/snapshots */ + $this->addSpecialTabs(); } function save_object($save_current= FALSE) @@ -19,7 +22,7 @@ class wintabs extends tabs /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ $baseobject= $this->by_object['wingeneric']; - $this->dn= "cn=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base; + $this->dn= "uid=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base; $baseobject->dn= $this->dn; foreach ($this->by_object as $key => $obj){