removed Samba 3 setting
This commit is contained in:
parent
4a5d859b15
commit
c49571c60c
|
@ -52,7 +52,6 @@ $maxlistentries = $conf->get_maxlistentries();
|
||||||
$defaultlanguage = $conf->get_defaultlanguage();
|
$defaultlanguage = $conf->get_defaultlanguage();
|
||||||
$scriptpath = $conf->get_scriptPath();
|
$scriptpath = $conf->get_scriptPath();
|
||||||
$scriptServer = $conf->get_scriptServer();
|
$scriptServer = $conf->get_scriptServer();
|
||||||
$samba3 = $conf->get_samba3();
|
|
||||||
$pwdhash = $conf->get_pwdhash();
|
$pwdhash = $conf->get_pwdhash();
|
||||||
echo ("done<br>");
|
echo ("done<br>");
|
||||||
// next we modify them and save lam.conf
|
// next we modify them and save lam.conf
|
||||||
|
@ -78,7 +77,6 @@ $conf->set_maxlistentries("54");
|
||||||
$conf->set_defaultlanguage("de_AT:iso639_de:Deutsch (Oesterreich)");
|
$conf->set_defaultlanguage("de_AT:iso639_de:Deutsch (Oesterreich)");
|
||||||
$conf->set_scriptPath("/var/www/lam/lib/script");
|
$conf->set_scriptPath("/var/www/lam/lib/script");
|
||||||
$conf->set_scriptServer("127.0.0.1");
|
$conf->set_scriptServer("127.0.0.1");
|
||||||
$conf->set_samba3("yes");
|
|
||||||
$conf->set_pwdhash("SMD5");
|
$conf->set_pwdhash("SMD5");
|
||||||
$conf->save();
|
$conf->save();
|
||||||
echo ("done<br>");
|
echo ("done<br>");
|
||||||
|
@ -106,7 +104,6 @@ if ($conf2->get_maxlistentries() != "54") echo ("<br><font color=\"#FF0000\">Sav
|
||||||
if ($conf2->get_defaultlanguage() != "de_AT:iso639_de:Deutsch (Oesterreich)") echo ("<br><font color=\"#FF0000\">Saving default language failed!</font><br>");
|
if ($conf2->get_defaultlanguage() != "de_AT:iso639_de:Deutsch (Oesterreich)") echo ("<br><font color=\"#FF0000\">Saving default language failed!</font><br>");
|
||||||
if ($conf2->get_scriptPath() != "/var/www/lam/lib/script") echo ("<br><font color=\"#FF0000\">Saving script path failed!</font><br>");
|
if ($conf2->get_scriptPath() != "/var/www/lam/lib/script") echo ("<br><font color=\"#FF0000\">Saving script path failed!</font><br>");
|
||||||
if ($conf2->get_scriptServer() != "127.0.0.1") echo ("<br><font color=\"#FF0000\">Saving script server failed!</font><br>");
|
if ($conf2->get_scriptServer() != "127.0.0.1") echo ("<br><font color=\"#FF0000\">Saving script server failed!</font><br>");
|
||||||
if ($conf2->get_samba3() != "yes") echo ("<br><font color=\"#FF0000\">Saving samba3 failed!</font><br>");
|
|
||||||
if ($conf2->get_pwdhash() != "SMD5") echo ("<br><font color=\"#FF0000\">Saving pwdhash failed!</font><br>");
|
if ($conf2->get_pwdhash() != "SMD5") echo ("<br><font color=\"#FF0000\">Saving pwdhash failed!</font><br>");
|
||||||
echo ("done<br>");
|
echo ("done<br>");
|
||||||
// restore old values
|
// restore old values
|
||||||
|
@ -132,7 +129,6 @@ $conf2->set_maxlistentries($maxlistentries);
|
||||||
$conf2->set_defaultLanguage($defaultlanguage);
|
$conf2->set_defaultLanguage($defaultlanguage);
|
||||||
$conf2->set_scriptPath($scriptpath);
|
$conf2->set_scriptPath($scriptpath);
|
||||||
$conf2->set_scriptServer($scriptserver);
|
$conf2->set_scriptServer($scriptserver);
|
||||||
$conf2->set_samba3($samba3);
|
|
||||||
$conf2->set_pwdhash($pwdhash);
|
$conf2->set_pwdhash($pwdhash);
|
||||||
$conf2->save();
|
$conf2->save();
|
||||||
echo ("done<br>");
|
echo ("done<br>");
|
||||||
|
|
Loading…
Reference in New Issue