Exemple #1
0
    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"])) {
Exemple #2
0
//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;}
if(isset($_GET["dropbox-service-uri"])){dropbox_service_uri();exit;}
if(isset($_GET["dropbox-service-dump"])){dropbox_files_status();exit;}