get_Passwd()) == $passwd)) { $message = _("The password is invalid! Please try again."); require('conflogin.php'); exit; } // check if user comes from modules page if ($_GET["modulesback"] == "true") { // load config values from session $conf->set_samba3($_SESSION['conf_samba3']); $conf->set_ServerURL($_SESSION['conf_serverurl']); $conf->set_cacheTimeout($_SESSION['conf_cachetimeout']); $conf->set_Adminstring($_SESSION['conf_admins']); $conf->set_UserSuffix($_SESSION['conf_suffusers']); $conf->set_GroupSuffix($_SESSION['conf_suffgroups']); $conf->set_HostSuffix($_SESSION['conf_suffhosts']); $conf->set_DomainSuffix($_SESSION['conf_suffdomains']); $conf->set_minUID($_SESSION['conf_minUID']); $conf->set_maxUID($_SESSION['conf_maxUID']); $conf->set_minGID($_SESSION['conf_minGID']); $conf->set_maxGID($_SESSION['conf_maxGID']); $conf->set_minMachine($_SESSION['conf_minMach']); $conf->set_maxMachine($_SESSION['conf_maxMach']); $conf->set_userlistAttributes($_SESSION['conf_usrlstattr']); $conf->set_grouplistAttributes($_SESSION['conf_grplstattr']); $conf->set_hostlistAttributes($_SESSION['conf_hstlstattr']); $conf->set_MaxListEntries($_SESSION['conf_maxlistentries']); $conf->set_defaultLanguage($_SESSION['conf_lang']); $conf->set_scriptpath($_SESSION['conf_scriptpath']); $conf->set_scriptserver($_SESSION['conf_scriptserver']); $conf->set_pwdhash($_SESSION['conf_pwdhash']); $conf->set_pdftext($_SESSION['conf_pdf_usertext']); // check if modules were edited if ($_GET["moduleschanged"] == "true") { $conf->set_UserModules($_SESSION['conf_usermodules']); $conf->set_GroupModules($_SESSION['conf_groupmodules']); $conf->set_HostModules($_SESSION['conf_hostmodules']); } } echo $_SESSION['header']; echo ("