예제 #1
0
파일: cmd.php 프로젝트: brucewu16899/artica
}
//samba
if (isset($_GET["samba-save-config"])) {
    samba_save_config();
    exit;
}
if (isset($_GET["samba-build-homes"])) {
    samba_build_homes();
    exit;
}
if (isset($_GET["restart-samba"])) {
    samba_restart();
    exit;
}
if (isset($_GET["Debugpdbedit"])) {
    samba_pdbedit_debug();
    exit;
}
if (isset($_GET["pdbedit"])) {
    samba_pdbedit();
    exit;
}
if (isset($_GET["samba-status"])) {
    samba_status();
    exit;
}
if (isset($_GET["samba-shares-list"])) {
    samba_shares_list();
    exit;
}
if (isset($_GET["samba-synchronize"])) {
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
if(isset($_GET["smtp-hack-reconfigure"])){smtp_hack_reconfigure();exit;}

//organizations
if(isset($_GET["upload-organization"])){ldap_upload_organization();exit;}


//cups
if(isset($_GET["cups-delete-printer"])){cups_delete_printer();exit;}
if(isset($_GET["cups-add-printer"])){cups_add_printer();exit;}

//samba
if(isset($_GET["samba-save-config"])){samba_save_config();exit;}
if(isset($_GET["samba-build-homes"])){samba_build_homes();exit;}
if(isset($_GET["restart-samba"])){samba_restart();exit;}
if(isset($_GET["restart-samba-now"])){samba_restart_now();exit;}
if(isset($_GET["Debugpdbedit"])){samba_pdbedit_debug();exit;}
if(isset($_GET["pdbedit"])){samba_pdbedit();exit;}
if(isset($_GET["pdbedit-group"])){samba_pdbedit_group();exit;}
if(isset($_GET["samba-status"])){samba_status();exit;}
if(isset($_GET["samba-shares-list"])){samba_shares_list();exit;}
if(isset($_GET["samba-synchronize"])){samba_synchronize();exit;}
if(isset($_GET["samba-change-sid"])){samba_change_sid();exit;}
if(isset($_GET["samba-original-conf"])){samba_original_config();exit;}
if(isset($_GET["GetLocalSid"])){GET_LOCAL_SID();exit;}

if(isset($_GET["smbpass"])){samba_password();exit;}
if(isset($_GET["home-single-user"])){samba_build_home_single();exit;}

//dropbox
if(isset($_GET["dropbox-status"])){dropbox_status();exit;}
if(isset($_GET["dropbox-service-status"])){dropbox_service_status();exit;}