From 0765e0ee3dbccdbd6d35fb94f68b3ca5bc26f6a1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 May 2010 09:53:06 +0000 Subject: [PATCH] Removed old config Steps git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18594 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/setup/class_setupStep_Config1.inc | 245 --------------- gosa-core/setup/class_setupStep_Config2.inc | 283 ----------------- gosa-core/setup/class_setupStep_Config3.inc | 224 -------------- gosa-core/setup/setup_config1.tpl | 225 -------------- gosa-core/setup/setup_config2.tpl | 294 ------------------ gosa-core/setup/setup_config3.tpl | 321 -------------------- 6 files changed, 1592 deletions(-) delete mode 100644 gosa-core/setup/class_setupStep_Config1.inc delete mode 100644 gosa-core/setup/class_setupStep_Config2.inc delete mode 100644 gosa-core/setup/class_setupStep_Config3.inc delete mode 100644 gosa-core/setup/setup_config1.tpl delete mode 100644 gosa-core/setup/setup_config2.tpl delete mode 100644 gosa-core/setup/setup_config3.tpl diff --git a/gosa-core/setup/class_setupStep_Config1.inc b/gosa-core/setup/class_setupStep_Config1.inc deleted file mode 100644 index 7d585f3d0..000000000 --- a/gosa-core/setup/class_setupStep_Config1.inc +++ /dev/null @@ -1,245 +0,0 @@ - 6, - "pwminlen_active" => FALSE, - "pwdiffer" => 5, - "pwdiffer_active" => FALSE, - "externalpwdhook" => "", - "externalpwdhook_active" => FALSE); - - var $id_settings = array( "idgen" => "{%sn}-{%givenName[2-4]}", - "idgen_active" => FALSE, - "minid" => "100", - "minid_active" => FALSE); - - var $crypt_methods = array(); - - var $attributes = array("compressed","peopleou","groupou","peopledn","uidbase","encryption","theme","krbsasl", - "base_hook","base_hook_active","account_expiration","strict","include_personal_title"); - - function Step_Config1() - { - $this->update_strings(); - - $tmp = passwordMethod::get_available_methods(); - foreach($tmp['name'] as $name){ - $this->crypt_methods[$name] = $name; - } - } - - - function update_strings() - { - $this->s_title = _("GOsa settings 1/3"); - $this->s_title_long = _("GOsa settings 1/3"); - $this->s_info = _("GOsa generic settings"); - } - - - function execute() - { - $smarty = get_smarty(); - $smarty->assign("peopledns",array("uid","cn")); - $smarty->assign("id_settings", reverse_html_entities($this->id_settings)); - $smarty->assign("crypt_methods", reverse_html_entities($this->crypt_methods)); - $smarty->assign("themes", reverse_html_entities($this->get_themes())); - $smarty->assign("pwd_rules", reverse_html_entities($this->pwd_rules)); - $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes"))); - foreach($this->attributes as $attr){ - $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8")); - } - - /* !!! Attention strict is inverse. If you change this, - * don't forget to change save_object too - */ - $smarty->assign("strict",!$this->strict); - return($smarty -> fetch (get_template_path("../setup/setup_config1.tpl"))); - } - - - function get_themes() - { - $dir = opendir( "../ihtml/themes/"); - $themes = array(); - while (($file = readdir($dir)) !== false){ - if(is_dir("../ihtml/themes/".$file) && !preg_match("/^\./",$file)){ - $themes[$file] = $file; - } - } - return($themes); - } - - function check() - { - $message = array(); - - if(isset($this->id_settings['minid_active']) && !is_numeric($this->id_settings['minid'])){ - $message[] = sprintf(_("The specified value for '%s' must be a numeric value"),_("GID / UID min id")); - } - - if(preg_match("/,$/",$this->peopleou)){ - $message[] =sprintf(_("Don't add a trailing comma to '%s'."),_("People storage ou")); - } - - if(preg_match("/,$/",$this->groupou)){ - $message[] =sprintf(_("Don't add a trailing comma to '%s'."),_("Group storage ou")); - } - - if(!is_numeric($this->uidbase)){ - $message[] = _("Uid base must be numeric"); - } - - if(($this->pwd_rules['pwminlen_active']) && !is_numeric($this->pwd_rules['pwminlen'])){ - $message[] = _("The given password minimum length is not numeric."); - } - if(($this->pwd_rules['pwdiffer_active']) && !is_numeric($this->pwd_rules['pwdiffer'])){ - $message[] = _("The given password differ value is not numeric."); - } - return($message); - } - - function save_object() - { - if(isset($_POST['step5_posted'])){ - - /* Get attributes */ - foreach($this->attributes as $attr){ - if(isset($_POST[$attr])){ - $this->$attr = validate(get_post($attr)); - } - } - - /* !!! Attention strict is inverse. If you change this, - * don't forget to change the smarty assignment too - */ - if(isset($_POST['strict'])){ - if($_POST['strict']){ - $this->strict = FALSE; - }else{ - $this->strict = TRUE; - } - } - - if(isset($_POST['minid_active'])){ - $this->id_settings['minid_active'] = TRUE; - if(isset($_POST['minid'])){ - $this->id_settings['minid'] = get_post('minid'); - } - }else{ - $this->id_settings['minid_active'] = FALSE; - } - - /* Generic settings */ - if(isset($_POST['idgen_active'])){ - $this->id_settings['idgen_active'] = TRUE; - if(isset($_POST['idgen'])){ - $this->id_settings['idgen'] = get_post('idgen'); - } - }else{ - $this->id_settings['idgen_active'] = FALSE; - } - - /* Get password settings */ - if(isset($_POST['pwdiffer_active'])){ - $this->pwd_rules['pwdiffer_active'] = TRUE; - if(isset($_POST['pwdiffer'])){ - $this->pwd_rules['pwdiffer'] = get_post('pwdiffer'); - } - }else{ - $this->pwd_rules['pwdiffer_active'] = FALSE; - } - - /* Get password minimum length posts */ - if(isset($_POST['pwminlen_active'])){ - $this->pwd_rules['pwminlen_active'] = TRUE; - if(isset($_POST['pwminlen'])){ - $this->pwd_rules['pwminlen'] = get_post('pwminlen'); - } - }else{ - $this->pwd_rules['pwminlen_active'] = FALSE; - } - - /* External pwd settings */ - if(isset($_POST['externalpwdhook_active'])){ - $this->pwd_rules['externalpwdhook_active'] = TRUE; - if(isset($_POST['externalpwdhook'])){ - $this->pwd_rules['externalpwdhook'] = get_post('externalpwdhook'); - } - }else{ - $this->pwd_rules['externalpwdhook_active'] = FALSE; - } - - /* base hook settings */ - if(isset($_POST['base_hook_active'])){ - $this->pwd_rules['base_hook_active'] = TRUE; - if(isset($_POST['base_hook'])){ - $this->pwd_rules['base_hook'] = get_post('base_hook'); - } - }else{ - $this->pwd_rules['base_hook_active'] = FALSE; - } - } - - $tmp = $this->check(); - if(count($tmp) == 0){ - $this->is_completed = TRUE; - }else{ - $this->is_completed = FALSE; - } - }// if tempalte posted - - - /* Attributes that are interesting for configuration generation */ - function get_attributes() - { - $tmp = setup_step::get_attributes(); - foreach(array("pwd_rules","id_settings") as $attr){ - $tmp[$attr]= $this->$attr; - } - return($tmp); - } -}// CLass - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc deleted file mode 100644 index 1bf1d2ff5..000000000 --- a/gosa-core/setup/class_setupStep_Config2.inc +++ /dev/null @@ -1,283 +0,0 @@ - "/etc/gosa/vacation", - "vacationdir_active" => FALSE); - - var $generic_settings = array( "enableCopyPaste" => false, - "wws_ou" => "ou=winstations", - "wws_ou_active" => FALSE, - "snapshot_active" => FALSE, - "snapshot_base" => "ou=snapshots,%base%", - "snapshot_user" => "%admin%", - "snapshot_password" => "", - "logging" => TRUE, - "snapshot_server" => "%connection%"); - - var $samba_settings = array( "samba_sid" => "0-815-4711", - "samba_sid_active" => FALSE, - "samba_rid" => 1000, - "smbhash" => 'SMBHASH', - "samba_rid_active" => FALSE); - - var $sambaDomain_found = FALSE; - var $timezone = "Europe/Berlin"; - var $timezones = array(); - - var $attributes = array("mail_attrib","governmentmode","sambaidmapping","cyrusunixstyle","mail","timezone"); - var $called = FALSE; - - function Step_Config2() - { - $this->update_strings(); - $this->mail_methods = $this->get_available_mail_classes(); - - /* Look for samba password generation method */ - if(file_exists("/usr/bin/mkntpasswd")){ - $pwdhash = "/usr/bin/mkntpasswd"; - } elseif (preg_match("/^Usage: mkntpwd /", shell_exec ("mkntpwd 2>&1"))){ - $pwdhash= "mkntpwd"; - } else { - $pwdhash= 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'; - } - - $this->timezones = timezone::_get_tz_zones(); - $this->samba_settings['smbhash'] = $pwdhash; - } - - - function update_strings() - { - $this->s_title = _("GOsa settings 2/3"); - $this->s_title_long = _("GOsa settings 2/3"); - $this->s_info = _("Customize special parameters"); - } - - - function execute() - { - $this->mail_methods = $this->get_available_mail_classes(); - /* On first call check for rid/sid base */ - $cv = $this->parent->captured_values; - $ldap_l = new LDAP($cv['admin'], - $cv['password'], - $cv['connection'], - FALSE, - $cv['tls']); - - $ldap = new ldapMultiplexer($ldap_l); - - $ldap->cd($cv['base']); - $ldap->search("(objectClass=sambaDomain)",array("dn")); - if($ldap->count()){ - $this->sambaDomain_found =TRUE; - }else{ - $this->sambaDomain_found =FALSE; - } - - if(!$this->called){ - if(!$this->sambaDomain_found){ - $this->samba_settings['samba_sid_active'] = TRUE; - $this->samba_settings['samba_rid_active'] = TRUE; - } - - $this->called = TRUE; - } - - /* Update snapshot values, with already collected values */ - foreach($this->generic_settings as $key => $value){ - foreach(array("snapshot_base","snapshot_user","snapshot_server") as $attr){ - foreach($this->parent->captured_values as $replace_name => $replace_value){ - if(is_string($replace_value)) { - $this->generic_settings[$attr] = preg_replace("/%".$replace_name."%/",$replace_value,$this->generic_settings[$attr]); - } - } - } - } - - $smarty = get_smarty(); - $smarty->assign("sambaDomain_found", $this->sambaDomain_found); - $smarty->assign("generic_settings", reverse_html_entities($this->generic_settings)); - $smarty->assign("mail_settings", reverse_html_entities($this->mail_settings)); - $smarty->assign("mail_methods", reverse_html_entities($this->mail_methods)); - $smarty->assign("samba_settings", reverse_html_entities($this->samba_settings)); - - $smarty->assign("logging",$this->generic_settings['logging']); - - $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes"))); - foreach($this->attributes as $attr){ - $smarty->assign($attr,reverse_html_entities($this->$attr)); - } - $smarty->assign("timezone" ,$this->timezone); - $smarty->assign("timezones" ,$this->timezones); - return($smarty -> fetch (get_template_path("../setup/setup_config2.tpl"))); - } - - function save_object() - { - if(isset($_POST['step6_posted'])){ - - if(isset($_POST['timezone']) && isset($this->timezones['TIMEZONES'][$_POST['timezone']])){ - $this->timezone = $_POST['timezone']; - } - - $old_mail = $this->mail; - - /* Get attributes */ - foreach($this->attributes as $attr){ - if(isset($_POST[$attr])){ - $this->$attr = validate(get_post($attr)); - } - } - - /* Get logging */ - $this->generic_settings['logging'] = isset($_POST['logging']); - - /* Mail settings */ - if(isset($_POST['vacationdir_active'])){ - $this->mail_settings['vacationdir_active'] = TRUE; - if(isset($_POST['vacationdir'])){ - $this->mail_settings['vacationdir'] = get_post('vacationdir'); - } - }else{ - $this->mail_settings['vacationdir_active'] = FALSE; - } - - if(isset($_POST['enableCopyPaste'])){ - $this->generic_settings['enableCopyPaste'] = get_post('enableCopyPaste'); - } - - if(isset($_POST['wws_ou_active'])){ - $this->generic_settings['wws_ou_active'] = TRUE; - if(isset($_POST['wws_ou'])){ - $this->generic_settings['wws_ou'] = get_post('wws_ou'); - } - }else{ - $this->generic_settings['wws_ou_active'] = FALSE; - } - - if(isset($_POST['snapshot_active'])){ - $this->generic_settings['snapshot_active'] = TRUE; - if(isset($_POST['snapshot_base'])){ - $this->generic_settings['snapshot_base'] = get_post('snapshot_base'); - } - if(isset($_POST['snapshot_user'])){ - $this->generic_settings['snapshot_user'] = get_post('snapshot_user'); - } - if(isset($_POST['snapshot_password'])){ - $this->generic_settings['snapshot_password'] = get_post('snapshot_password'); - } - if(isset($_POST['snapshot_server'])){ - $this->generic_settings['snapshot_server'] = get_post('snapshot_server'); - } - }else{ - $this->generic_settings['snapshot_active'] = FALSE; - } - - /* Samba settings */ - if(isset($_POST['samba_sid_active'])){ - $this->samba_settings['samba_sid_active'] = TRUE; - if(isset($_POST['samba_sid'])){ - $this->samba_settings['samba_sid'] = get_post('samba_sid'); - } - }else{ - $this->samba_settings['samba_sid_active'] = FALSE; - } - if(isset($_POST['samba_rid_active'])){ - $this->samba_settings['samba_rid_active'] = TRUE; - if(isset($_POST['samba_rid'])){ - $this->samba_settings['samba_rid'] = get_post('samba_rid'); - } - }else{ - $this->samba_settings['samba_rid_active'] = FALSE; - } - if(isset($_POST['smbhash'])){ - $this->samba_settings['smbhash'] = get_post('smbhash'); - } - - if(!$this->sambaDomain_found){ - $this->samba_settings['samba_sid_active'] = TRUE; - $this->samba_settings['samba_rid_active'] = TRUE; - } - } - - $tmp = $this->check(); - if(count($tmp) == 0){ - $this->is_completed = TRUE; - }else{ - $this->is_completed = FALSE; - } - } - - - function check() - { - $message = array(); - return($message); - } - - - /* Attributes that are interesting for configuration generation */ - function get_attributes() - { - $tmp = setup_step::get_attributes(); - foreach(array("samba_settings","generic_settings","mail_settings") as $attr){ - $tmp[$attr]= $this->$attr; - } - return($tmp); - } - - - /* Returns the classnames auf the mail classes */ - function get_available_mail_classes() - { - global $class_mapping; - - /* Check if we have the mail classes/plugins installed */ - if(!class_available("mailMethod")){ - return(array()); - } - $methods = array(); - foreach($class_mapping as $name => $file){ - if(preg_match("/^mailMethod.*$/i",$name)){ - $name = preg_replace("/^mailMethod/","",$name); - if(!empty($name)){ - $methods[$name]['name'] = $name; - } - } - } - return($methods); - } -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-core/setup/class_setupStep_Config3.inc b/gosa-core/setup/class_setupStep_Config3.inc deleted file mode 100644 index 6d7e485bf..000000000 --- a/gosa-core/setup/class_setupStep_Config3.inc +++ /dev/null @@ -1,224 +0,0 @@ - "uid", - "mail" => "mail", - "uid,mail" => "both"); - var $optional = array( - "login_attribute" => "uid", - "strict_units" => false, - "list_summary" => true, - "forceglobals" => true, - "forceSSL" => false, - "ldapstats" => false, - "warnSSL" => true, - "user_filter_cookie" => true, - "ppd_path" => "/var/spool/ppd/", - "ppd_path_active" => FALSE, - "templateCompileDirectory" => "/var/spool/gosa", - "snmpcommunity" => "goto", - "debugLevel" => 0, - "session_lifetime" => 7200, - "max_ldap_query_time" => "5.0", - "max_ldap_query_time_active" => FALSE, - - "notifydir" => "", - "notifydir_active" => FALSE, - - "gosaSupportURI" => "gosa-si-secret@server:20081", - "gosaSupportTimeout" => 15, - "gosaSupportURI_active" => FALSE, - - "uniq_identifier" => "entryCSN", - "uniq_identifier_active" => TRUE, - - "kioskpath" => "/var/spool/kiosk", - "kioskpath_active" => FALSE, - - "sudoou" => "ou=sudoers", - "sudoou_active" => FALSE, - - "noprimarygroup" => FALSE); - - var $attributes = array("errorlvl"); - - function Step_Config3() - { - $this->update_strings(); - } - - - function update_strings() - { - $this->s_title = _("GOsa settings 3/3"); - $this->s_title_long = _("GOsa settings 3/3"); - $this->s_info = _("Tweak some GOsa core behaviour"); - } - - - function execute() - { - - $cv = $this->parent->captured_values; - $this->optional['sudoou'] = preg_replace("/%BASE%/",$cv['base'],$this->optional['sudoou']); - $smarty = get_smarty(); - $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes"))); - $smarty->assign("uniq_identifiers",array( "entryCSN" => "entryCSN", - "contextCSN"=>"contextCSN" )); - - - $smarty->assign("optional", reverse_html_entities($this->optional)); - foreach($this->attributes as $attr){ - $smarty->assign($attr,reverse_html_entities($this->$attr)); - } - $smarty->assign("login_attributes",$this->login_attributes); - return($smarty -> fetch (get_template_path("../setup/setup_config3.tpl"))); - } - - - function save_object() - { - if(isset($_POST['step6a_posted'])){ - - /* Get attributes */ - foreach($this->attributes as $attr){ - if(isset($_POST[$attr])){ - $this->$attr = validate(get_post($attr)); - } - } - - foreach(array("login_attribute","list_summary","strict_units","snmpcommunity","noprimarygroup","forceglobals","forceSSL","ldapstats","user_filter_cookie","warnSSL","templateCompileDirectory","debugLevel","session_lifetime") as $name){ - if(isset($_POST[$name])){ - $this->optional[$name] = get_post($name); - } - } - - if(isset($_POST['ppd_path_active'])){ - $this->optional['ppd_path_active'] = TRUE; - if(isset($_POST['ppd_path'])){ - $this->optional['ppd_path'] = get_post('ppd_path'); - } - }else{ - $this->optional['ppd_path_active'] = FALSE; - } - - if(isset($_POST['max_ldap_query_time_active'])){ - $this->optional['max_ldap_query_time_active'] = TRUE; - if(isset($_POST['max_ldap_query_time'])){ - $this->optional['max_ldap_query_time'] = get_post('max_ldap_query_time'); - } - }else{ - $this->optional['max_ldap_query_time_active'] = FALSE; - } - - if(isset($_POST['kioskpath_active'])){ - $this->optional['kioskpath_active'] = TRUE; - if(isset($_POST['kioskpath'])){ - $this->optional['kioskpath'] = get_post('kioskpath'); - } - }else{ - $this->optional['kioskpath_active'] = FALSE; - } - - if(isset($_POST['sudoou_active'])){ - $this->optional['sudoou_active'] = TRUE; - if(isset($_POST['sudoou'])){ - $this->optional['sudoou'] = get_post('sudoou'); - } - }else{ - $this->optional['sudoou_active'] = FALSE; - } - - if(isset($_POST['notifydir_active'])){ - $this->optional['notifydir_active'] = TRUE; - if(isset($_POST['notifydir'])){ - $this->optional['notifydir'] = get_post('notifydir'); - } - }else{ - $this->optional['notifydir_active'] = FALSE; - } - - if(isset($_POST['gosaSupportURI_active'])){ - $this->optional['gosaSupportURI_active'] = TRUE; - if(isset($_POST['gosaSupportURI'])){ - $this->optional['gosaSupportURI'] = get_post('gosaSupportURI'); - $this->optional['gosaSupportTimeout'] = get_post('gosaSupportTimeout'); - } - }else{ - $this->optional['gosaSupportURI_active'] = FALSE; - } - - if(isset($_POST['uniq_identifier_active'])){ - $this->optional['uniq_identifier_active'] = TRUE; - if(isset($_POST['uniq_identifier'])){ - $this->optional['uniq_identifier'] = get_post('uniq_identifier'); - } - }else{ - $this->optional['uniq_identifier_active'] = FALSE; - } - } - - $tmp = $this->check(); - if(count($tmp) == 0){ - $this->is_completed = TRUE; - }else{ - $this->is_completed = FALSE; - } - } - - - function check() - { - $message = array(); - - if(!is_numeric( $this->optional['session_lifetime'])){ - $message[] = _("Session lifetime must be a numeric value!"); - } - - if(!is_numeric( $this->optional['max_ldap_query_time'])){ - $message[] = _("Maximum LDAP query time must be a numeric value!"); - } - - return($message); - } - - - /* Attributes that are interesting for configuration generation */ - function get_attributes() - { - $tmp = setup_step::get_attributes(); - foreach(array("optional") as $attr){ - $tmp[$attr]= $this->$attr; - } - return($tmp); - } - -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-core/setup/setup_config1.tpl b/gosa-core/setup/setup_config1.tpl deleted file mode 100644 index 692623a06..000000000 --- a/gosa-core/setup/setup_config1.tpl +++ /dev/null @@ -1,225 +0,0 @@ -
-

{t}Look and feel{/t}

- -
-
- {t}Theme{/t} -
-
- -
-
- -

{t}Apache{/t}

- -
-
- {t}Compress output send to browser{/t} -
-
- -
-
-

{t}People and group storage{/t}

-
-
- {t}People DN attribute{/t} -
-
- -
-
- -
-
- {t}People storage subtree{/t} -
-
- -
-
- -
-
- {t}Group storage subtree{/t} -
-
- -
-
- -
-
- {t}Include personal title in user DN{/t} -
-
- -
-
- -
-
- {t}Relaxed naming policies{/t} -
-
- -
-
- -
-
- {t}Automatic UIDs{/t} -
-
- {if $id_settings.idgen_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}GID / UID min id{/t} -
-
- {if $id_settings.minid_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Number base for people/groups{/t} -
-
- -
-
-
-
- {t}Hook for number base{/t} -
-
- {if $base_hook_active == FALSE} - - - {else} - - - {/if} -
-
-
- -

{t}Password settings{/t}

- -
-
- {t}Password encryption algorithm{/t} -
-
- -
-
- -
-
- {t}Password restrictions{/t} -
-
- - {if $pwd_rules.pwminlen_active == FALSE} - - {t}Password minimum length{/t} - - {else} - - {t}Password minimum length{/t} - - {/if} -
- {if $pwd_rules.pwdiffer_active == FALSE} - - {t}Different characters from old password{/t} - - {else} - - {t}Different characters from old password{/t} - - {/if} - -
-
- -
-
- {t}Password change hook{/t} -
-
- {if $pwd_rules.externalpwdhook_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Use SASL for kerberos{/t} -
-
- -
-
- -
-
- {t}Use account expiration{/t} -
-
- -
-
- - - - - diff --git a/gosa-core/setup/setup_config2.tpl b/gosa-core/setup/setup_config2.tpl deleted file mode 100644 index ab48a9531..000000000 --- a/gosa-core/setup/setup_config2.tpl +++ /dev/null @@ -1,294 +0,0 @@ -
-

{t}Samba settings{/t}

- -
-
- {t}Samba hash generator{/t} -
-
- -
-
- -
-
- {t}Samba SID{/t} -
-
- {if $samba_settings.samba_sid_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}RID base{/t} -
-
- {if $samba_settings.samba_rid_active == FALSE} - - - {else} - - - {/if} -
-
-
-
- {t}Workstation container{/t} -
-
- {if $generic_settings.wws_ou_active == FALSE} - - - {else} - - - {/if} -
-
-
-
- {t}Samba SID mapping{/t} -
-
- -
-
-
-
- {t}Timezone{/t} -
-
- -
-
- - -

{t}Additional GOsa settings{/t}

- -
-
- {t}Enable Copy & Paste{/t} -
-
- - -
-
- -
-
- {t}Government mode{/t} -
-
- -
-
- -
-
- {t}GOsa logging{/t} -
-
- {if $logging} - - {else} - - {/if} -
-
- - -

{t}Mail settings{/t}

- -
-
- {t}Mail method{/t} -
-
- -
-
-
-
- -
-
- {t}Account identification attribute{/t} -
-
- -
-
-
-
- -
-
- {t}Vacation templates{/t} -
-
- {if $mail_settings.vacationdir_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Use Cyrus UNIX style{/t} -
-
- -
-
- - -

{t}Snapshots / Undo{/t}

- {if $generic_settings.snapshot_active == FALSE} -
-
- {t}Enable snapshots{/t} -
-
-
-
-
- {t}Snapshot base{/t} -
-
- -
-
-
-
- {t}Server{/t} -
-
- -
-
-
-
- {t}User{/t} -
-
- -
-
-
-
- {t}Password{/t} -
-
- -
-
-
- - {else} -
-
- {t}Enable snapshots{/t} -
-
-
-
-
- {t}Snapshot base{/t} -
-
- -
-
-
-
- {t}Server{/t} -
-
- -
-
-
-
- {t}User{/t} -
-
- -
-
-
-
- {t}Password{/t} -
-
- -
-
-
- {/if} -
- - -
diff --git a/gosa-core/setup/setup_config3.tpl b/gosa-core/setup/setup_config3.tpl deleted file mode 100644 index 9933dc5c5..000000000 --- a/gosa-core/setup/setup_config3.tpl +++ /dev/null @@ -1,321 +0,0 @@ -
-

{t}GOsa core settings{/t}

- -
-
- {t}Enable primary group filter{/t} -
-
- - -
-
- -
-
- {t}Display summary in listings{/t} -
-
- - -
-
- -
-
- {t}Honour administrative units{/t} -
-
- - -
-
- -
-
- {t}Smarty compile directory{/t} -
-
- -
-
-
-
- {t}SNMP community{/t} -
-
- -
-
-
-
- {t}Path for PPD storage{/t} -
-
- {if $optional.ppd_path_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Path for kiosk profile storage{/t} -
-
- {if $optional.kioskpath_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}SUDO role base{/t} -
-
- {if $optional.sudoou_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Notification script{/t} -
-
- {if $optional.notifydir_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Enable edit locking{/t} -
-
- {if $optional.uniq_identifier_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Gosa support daemon{/t} -
-
- {if $optional.gosaSupportURI_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Daemon timeout{/t} -
-
- {if $optional.gosaSupportURI_active == FALSE} - - {else} - - {/if} -
-
- - -

{t}Login and session{/t}

-
-
- {t}Login attribute{/t} -
-
- -
-
- -
-
- {t}Enforce register_globals to be deactivated{/t} -
-
- - -
-
- -
-
- {t}Enforce encrypted connections{/t} -
-
- - -
-
- -
-
- {t}Warn if session is not encrypted{/t} -
-
- - -
-
- -
-
- {t}Remember dialog filter settings{/t} -
-
- - -
-
- -
-
- {t}Session lifetime{/t} -
-
- -
-
- - -

{t}Debugging{/t}

- -
-
- {t}Show PHP errors{/t} -
-
- -
-
- - -
-
- {t}Maximum LDAP query time{/t} -
-
- {if $optional.max_ldap_query_time_active == FALSE} - - - {else} - - - {/if} -
-
- -
-
- {t}Log LDAP statistics{/t} -
-
- - -
-
- -
-
- {t}Debug level{/t} -
-
- -
-
-
- - -- 2.30.2