removed Samba 3 setting

This commit is contained in:
Roland Gruber 2004-05-30 11:55:50 +00:00
parent 4a5d859b15
commit c49571c60c
1 changed files with 0 additions and 4 deletions

View File

@ -52,7 +52,6 @@ $maxlistentries = $conf->get_maxlistentries();
$defaultlanguage = $conf->get_defaultlanguage();
$scriptpath = $conf->get_scriptPath();
$scriptServer = $conf->get_scriptServer();
$samba3 = $conf->get_samba3();
$pwdhash = $conf->get_pwdhash();
echo ("done<br>");
// 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_scriptPath("/var/www/lam/lib/script");
$conf->set_scriptServer("127.0.0.1");
$conf->set_samba3("yes");
$conf->set_pwdhash("SMD5");
$conf->save();
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_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_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>");
echo ("done<br>");
// restore old values
@ -132,7 +129,6 @@ $conf2->set_maxlistentries($maxlistentries);
$conf2->set_defaultLanguage($defaultlanguage);
$conf2->set_scriptPath($scriptpath);
$conf2->set_scriptServer($scriptserver);
$conf2->set_samba3($samba3);
$conf2->set_pwdhash($pwdhash);
$conf2->save();
echo ("done<br>");