X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=setup%2Fclass_setupStep_Config3.inc;h=ab31a3f3f3e2c72bf006c2069d0b7a0922eda0ea;hb=68503ecbb4d310b61ef8f1f32003fc739bacb237;hp=7eb549101daa9846cc95c2da450790cb8b8d1af6;hpb=7486490ff1262f355851d52588fce996fe7f2adc;p=gosa.git diff --git a/setup/class_setupStep_Config3.inc b/setup/class_setupStep_Config3.inc index 7eb549101..ab31a3f3f 100644 --- a/setup/class_setupStep_Config3.inc +++ b/setup/class_setupStep_Config3.inc @@ -22,10 +22,12 @@ class Step_Config3 extends setup_step { + var $header_image= "images/ldapserver.png"; var $optional = array( "strict_units" => false, "forceglobals" => true, "forcessl" => false, + "ldapstats" => false, "warnssl" => true, "ppd_path" => "/var/spool/ppd/", "ppd_path_active" => FALSE, @@ -47,32 +49,20 @@ class Step_Config3 extends setup_step "kioskpath" => "/var/spool/kiosk", "kioskpath_active" => FALSE, - "noprimarygroup" => FALSE, - "smbhash" => 'SMBHASH'); + "noprimarygroup" => FALSE); function Step_Config3() { $this->update_strings(); - - /* 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->optional['smbhash'] = $pwdhash; } function update_strings() { $this->s_title = _("GOsa settings 3/3"); - $this->s_title_long = _("GOsa generic settings, page 3/3"); - $this->s_info = _("This dialog allows you to setup GOsa behaviour"); + $this->s_title_long = _("GOsa settings 3/3"); + $this->s_info = _("Tweak some GOsa core behaviour"); } @@ -99,7 +89,7 @@ class Step_Config3 extends setup_step } } - foreach(array("strict_units","noprimarygroup","forceglobals","forcessl","warnssl","compile","debuglevel","session_lifetime","smbhash") as $name){ + foreach(array("strict_units","noprimarygroup","forceglobals","forcessl","ldapstats","warnssl","compile","debuglevel","session_lifetime") as $name){ if(isset($_POST[$name])){ $this->optional[$name] = stripslashes($_POST[$name]); }