diff --git a/gosa-plugins/sudo/admin/sudo/tabs_sudo.inc b/gosa-plugins/sudo/admin/sudo/tabs_sudo.inc
index 0e0c1267c6e8a7e16497419ad3bacc44b3e80d15..34aa4cafc1c41b33afbc2b3139f146c8ba00614e 100644 (file)
$this->addSpecialTabs();
}
+ function set_default($state)
+ {
+ if(isset($this->by_object['sudo'])){
+ $this->by_object['sudo']->set_default($state);
+ }
+ }
+
function save($ignore_account= FALSE)
{
$baseobject= $this->by_object['sudo'];
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $new_dn= 'cn='.$baseobject->cn.','.sudo::get_sudoers_ou($baseobject->config);
+ $new_dn= 'cn='.$baseobject->get_cn().','.sudo::get_sudoers_ou($baseobject->config);
/* Move group? */
if ($this->dn != $new_dn){