Beispiel #1
0
if($argv[1]=="--saslauthd"){echo "\n".saslauthd();;exit;}
if($argv[1]=="--sysloger"){echo "\n".syslogger();;exit;}
if($argv[1]=="--squid-tail"){echo "\n".squid_tail();;exit;}
if($argv[1]=="--amavis"){echo "\n".amavis();exit;}
if($argv[1]=="--amavis-milter"){echo"\n". amavis_milter();exit;}
if($argv[1]=="--boa"){echo"\n". boa();exit;}
if($argv[1]=="--lighttpd"){echo"\n". lighttpd();exit;}
if($argv[1]=="--fcron"){echo"\n". fcron1()."\n".fcron2(); exit;}
if($argv[1]=="--clamav"){echo"\n". clamd()."\n".clamscan()."\n".clammilter()."\n".freshclam(); exit;}
if($argv[1]=="--retranslator"){echo"\n". retranslator_httpd(); exit;}
if($argv[1]=="--spamassassin"){echo spamassassin_milter()."\n".spamassassin();exit;}
if($argv[1]=="--postfix"){echo "\n".postfix();exit;}
if($argv[1]=="--postfix-logger"){echo "\n".postfix_logger();exit;}
if($argv[1]=="--mailman"){echo "\n".mailman();exit;}
if($argv[1]=="--kas3"){echo "\n".kas3_milter()."\n".kas3_ap(); exit;}
if($argv[1]=="--samba"){echo "\n".smbd()."\n".nmbd()."\n".winbindd()."\n".scanned_only()."\n"; exit;}
if($argv[1]=="--roundcube"){echo "\n".roundcube();exit;}
if($argv[1]=="--cups"){echo "\n".cups();exit;}
if($argv[1]=="--apache-groupware"){echo "\n".apache_groupware();exit;}
if($argv[1]=="--gdm"){echo "\n".gdm();exit;}
if($argv[1]=="--console-kit"){echo "\n".consolekit();exit;}
if($argv[1]=="--xfce"){echo "\n".xfce();exit;}
if($argv[1]=="--vmtools"){echo "\n".vmtools();exit;}
if($argv[1]=="--hamachi"){echo "\n".hamachi();exit;}
if($argv[1]=="--artica-notifier"){echo "\n".artica_notifier();exit;}
if($argv[1]=="--dhcpd"){echo "\n".dhcpd_server();exit;}
if($argv[1]=="--pure-ftpd"){echo "\n".pure_ftpd();exit;}
if($argv[1]=="--mldonkey"){echo "\n".mldonkey();exit;}
if($argv[1]=="--policydw"){echo "\n".policyd_weight();exit;}
if($argv[1]=="--backuppc"){echo "\n".backuppc();exit;}
if($argv[1]=="--kav4fs"){echo "\n".kav4fs()."\n".kav4fsavs();exit;}
Beispiel #2
0
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["ADSERVER"])) {
    save();
    exit;
}
if (isset($_GET["net-ads-infos"])) {
    ads_infos();
    exit;
}
if (isset($_GET["winbindd"])) {
    winbindd();
    exit;
}
if (isset($_GET["addldap"])) {
    ad_ldap();
    exit;
}
if (isset($_GET["netadsleave-icon"])) {
    netadsleave_icon();
    exit;
}
if (isset($_GET["netads-leave-perform"])) {
    netadsleave_perform();
    exit;
}
if (isset($_GET["EnableManageUsersTroughActiveDirectory"])) {
Beispiel #3
0
 $TimeFile = $cachefile;
 if ($GLOBALS["SCHEDULE_ID"] > 0) {
     if ($unix->file_time_min($TimeFile) > 5) {
         $php = $unix->LOCATE_PHP5_BIN();
         $nohup = $unix->find_program("nohup");
         shell_exec2("{$nohup} {$php} /usr/share/artica-postfix/exec.squid.run.schedules.php >/dev/null 2>&1 &");
     }
 }
 $conf[] = squid_master_status(true);
 $conf[] = kav4Proxy_status();
 $conf[] = proxy_pac_status();
 $conf[] = squidguardweb();
 $conf[] = ufdbguardd();
 $conf[] = freshclam();
 $conf[] = articadb();
 $conf[] = winbindd();
 $conf[] = squid_db();
 $conf[] = haarp();
 $conf[] = nginx();
 $conf[] = ftp_proxy();
 $conf[] = c_icap_master_status();
 $conf[] = cntlm();
 $conf[] = cntlm_parent();
 $conf[] = rdpproxy_authhook();
 $conf[] = rdpproxy();
 $conf[] = clamd();
 $conf[] = dnsmasq();
 $conf[] = ufdbguardd_client();
 $conf[] = ucarp();
 $conf[] = hotspot_web();
 $conf[] = hotspot_fw();
Beispiel #4
0
    exit;
}
if ($argv[1] == "--postfix-logger") {
    echo "\n" . postfix_logger();
    exit;
}
if ($argv[1] == "--mailman") {
    echo "\n" . mailman();
    exit;
}
if ($argv[1] == "--kas3") {
    echo "\n" . kas3_milter() . "\n" . kas3_ap();
    exit;
}
if ($argv[1] == "--samba") {
    echo "\n" . smbd() . "\n" . nmbd() . "\n" . winbindd() . "\n" . scanned_only() . "\n";
    exit;
}
if ($argv[1] == "--roundcube") {
    echo "\n" . roundcube();
    exit;
}
if ($argv[1] == "--cups") {
    echo "\n" . cups();
    exit;
}
if ($argv[1] == "--apache-groupware") {
    echo "\n" . apache_groupware();
    exit;
}
if ($argv[1] == "--gdm") {
Beispiel #5
0
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	
	$users=new usersMenus();
	if(!$users->AsSystemAdministrator){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["ADSERVER"])){save();exit;}
	if(isset($_GET["net-ads-infos"])){ads_infos();exit;}
	if(isset($_GET["winbindd"])){winbindd();exit;}
	if(isset($_GET["addldap"])){ad_ldap();exit;}
	if(isset($_GET["netadsleave-icon"])){netadsleave_icon();exit;}
	if(isset($_GET["netads-leave-perform"])){netadsleave_perform();exit;}
	if(isset($_GET["EnableManageUsersTroughActiveDirectory"])){saveAdStrict();exit;}
js();

function js(){
	
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_AD_CONNECT}");
	$page=CurrentPageName();
	$html="
	function AdConnectPopup(){
		YahooWin3('650','$page?popup=yes','$title')
	}