Ejemplo n.º 1
0
if ($user->AsSquidAdministrator == false) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
    die;
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["settings"])) {
    settings();
    exit;
}
if (isset($_POST["EnableKerbAuth"])) {
    settingsSave();
    exit;
}
if (isset($_GET["kerbchkconf"])) {
    kerbchkconf();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{APP_SQUIDKERAUTH}");
    $html = "YahooWin4(550,'{$page}?popup=yes','{$title}');";
    echo $html;
}
Ejemplo n.º 2
0
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["cntml-status"])){cntlm_status();exit;}
	if(isset($_GET["ldap-params"])){ldap_params();exit;}
	if(isset($_GET["schedule-params"])){schedule_params();exit;}
	if(isset($_POST["AdSchBuildProxy"])){schedule_save();exit;}
	if(isset($_GET["testauth-results"])){test_auth_results();exit;}
	if(isset($_POST["EnableCNTLM"])){EnableCNTLM_save();exit;}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["settings"])){settings();exit;}
	if(isset($_POST["SAVE_RECURSIVE_GROUPS"])){SAVE_RECURSIVE_GROUPS();exit;}
	if(isset($_POST["EnableKerbAuth"])){settingsSave();exit;}
	if(isset($_POST["SambeReconnectAD"])){SambeReconnectAD();exit;}
	
	if(isset($_GET["kerbchkconf"])){kerbchkconf();exit;}
	if(isset($_GET["test-popup"])){test_popup();exit;}
	if(isset($_GET["test-nettestjoin"])){test_testjoin();exit;}
	if(isset($_GET["test-netadsinfo"])){test_netadsinfo();exit;}
	if(isset($_GET["test-netrpcinfo"])){test_netrpcinfo();exit;}
	if(isset($_GET["test-wbinfoalldom"])){test_wbinfoalldom();exit;}
	if(isset($_GET["test-wbinfomoinst"])){test_wbinfomoinst();exit;}
	if(isset($_GET["test-wbinfomoinsa"])){test_wbinfomoinsa();exit;}
	
	if(isset($_GET["test-auth"])){test_auth();exit;}
	if(isset($_POST["SaveSambaBindInterface"])){SaveSambaBindInterface();exit;}
	if(isset($_POST["TESTAUTHUSER"])){test_auth_perform();exit;}
	if(isset($_POST["LDAP_SUFFIX"])){ldap_params_save();exit;}