index 680fdebd79d2f67699b855b4d37758fff4253005..ab31a3f3f3e2c72bf006c2069d0b7a0922eda0ea 100644 (file)
"strict_units" => false,
"forceglobals" => true,
"forcessl" => false,
+ "ldapstats" => false,
"warnssl" => true,
"ppd_path" => "/var/spool/ppd/",
"ppd_path_active" => FALSE,
"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;
}
}
}
- 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]);
}