password != $_SESSION['confwiz_masterpwd']) { require("../config/conflogin.php"); exit; } // if no optional pages should be displayed go to ldaptest if (sizeof($_SESSION['confwiz_optional']) < 1) { metarefresh('ldaptest.php'); exit; } // UID/GID ranges if ($_SESSION['confwiz_optional']['ranges'] == 'yes') { metarefresh('o_ranges.php'); exit; } // list attributes if ($_SESSION['confwiz_optional']['lists'] == 'yes') { metarefresh('o_lists.php'); exit; } // language, admins if ($_SESSION['confwiz_optional']['lang'] == 'yes') { metarefresh('o_lang.php'); exit; } // lamdaemon and PDF text if ($_SESSION['confwiz_optional']['daemon'] == 'yes') { metarefresh('o_daemon.php'); exit; } // if all pages were displayed go to ldaptest metarefresh('ldaptest.php'); ?>