index 6140cd22a4bd78f4a55983200d014e3d29feeafb..13415175bb73029a70968bc66332ce50a3f756a7 100644 (file)
{
var $header_image= "images/ldapserver.png";
- var $errorlvl = FALSE;
+ var $errorlvl = TRUE;
var $optional = array(
+ "auth_mail" => "false",
"strict_units" => false,
+ "list_summary" => false,
"forceglobals" => true,
"forcessl" => false,
"ldapstats" => false,
"ppd_path" => "/var/spool/ppd/",
"ppd_path_active" => FALSE,
"compile" => "/var/spool/gosa",
+ "snmpcommunity" => "goto",
"debuglevel" => 0,
"session_lifetime" => 7200,
"max_ldap_query_time" => "5.0",
"mailQueueScriptPath" => "/usr/bin/sudo /usr/local/sbin/mailqueue %action %id %server",
"mailQueueScriptPath_active" => FALSE,
- "auto_network_hook" => "/etc/gosa/net-resolv.sh",
+ "auto_network_hook" => "/usr/bin/net-resolver.sh",
"auto_network_hook_active" => FALSE,
"notifydir" => "",
"kioskpath" => "/var/spool/kiosk",
"kioskpath_active" => FALSE,
+ "gotomasses_file" => "/etc/gosa/gotomasses",
+ "gotomasses_active" => FALSE,
+
"noprimarygroup" => FALSE);
var $attributes = array("errorlvl");
}
}
- foreach(array("strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","warnssl","compile","debuglevel","session_lifetime") as $name){
+ foreach(array("auth_mail","list_summary","strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","warnssl","snmpcommunity","compile","debuglevel","session_lifetime") as $name){
if(isset($_POST[$name])){
$this->optional[$name] = get_post($name);
}
$this->optional['kioskpath_active'] = FALSE;
}
+ if(isset($_POST['gotomasses_active'])){
+ $this->optional['gotomasses_active'] = TRUE;
+ if(isset($_POST['gotomasses_file'])){
+ $this->optional['gotomasses_file'] = get_post('gotomasses_file');
+ }
+ }else{
+ $this->optional['gotomasses_active'] = FALSE;
+ }
+
if(isset($_POST['auto_network_hook_active'])){
$this->optional['auto_network_hook_active'] = TRUE;
if(isset($_POST['auto_network_hook'])){