Exemple #1
0
    exit;
}
if (isset($_GET["proxyHostnameKerbDiv"])) {
    kerberos_hostname_div();
    exit;
}
if (isset($_POST["ActiveDirectorySquidHTTPHostname"])) {
    kerberos_hostname_save();
    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"])) {
Exemple #2
0
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.ccurl.inc');
	include_once('ressources/class.ActiveDirectory.inc');
	include_once('ressources/class.system.nics.inc');
	include_once('ressources/class.resolv.conf.inc');
	
	
	if(isset($_GET["status"])){status_kerb();exit;}
	$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$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;}