1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ClientExec and Plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by HaMiL, Apr 7, 2008.

  1. HaMiL

    HaMiL Guest

    0
     
    Hello. I have some problems with integration ClientExec with Plesk 8.3.
    More... Domain created by global reselling account. But domain owner in auto-creating domain system, have minimal permissions. I not modify e-mail accounts, sub domain, manage dns and other.

    ClientExec add domain to user:
    Learning API, but problems not fixed!
    Questions: What i need add in xml request, also my domain owner have manage- permissions and in what sections?

    Sorry from my bad English. I live in Russia.
    Thx.
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Something like this:

    PHP:
    <packet version="1.4.2.0">
    <
    client>
    <
    add>
       <
    gen_info>
           <
    cname>LogicSoft Ltd.</cname>
           <
    pname>Stephen Lowell</pname>
           <
    login>stevelow</login>
           <
    passwd>Jhtr66fBB</passwd>
           <
    status>0</status>
           <
    phone>416 907 9944</phone>
           <
    fax>928 752 3905</fax>
           <
    email>host@logicsoft.net</email>
           <
    address>105 Brisbane RoadUnit 2</address>
           <
    city>Toronto</city>
           <
    state/>
           <
    pcode/>
           <
    country>CA</country>
       </
    gen_info>
       <
    permissions>                
           <
    create_domains>true</create_domains>
           <
    manage_phosting>true</manage_phosting>
           <
    manage_quota>false</manage_quota>
           <
    manage_subdomains>true</manage_subdomains>
           <
    change_limits>true</change_limits>
           <
    manage_dns>true</manage_dns>
           <
    manage_log>true</manage_log>
           <
    manage_anonftp>true</manage_anonftp>
           <
    manage_webapps>true</manage_webapps>
           <
    manage_sh_access>true</manage_sh_access>
           <
    manage_maillists>true</manage_maillists>
           <
    make_dumps>true</make_dumps>
           <
    remote_access_interface>true</remote_access_interface>
           <
    cp_access>true</cp_access>
           <
    manage_domain_aliases>true </manage_domain_aliases>
       </
    permissions>
    </
    add>
    </
    client>
    </
    packet>
    You can also use client templates and specify those when the client account is created.
     
  3. HaMiL

    HaMiL Guest

    0
     
    HostingGuy
    No. Your example add client in Plesk.
    I need add domain administrator with full-premissions.

    Okay... Next... How to suspend client? (not main domain!)
    In API not see this :(
    Locked domain is:
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Yes, if you need it to do something else then change the script. For the client suspension, I do not beleive that you can disable a client but leave the domains online by default, I think then you have to re-enable the domains of the client after the client is disabled.

    I dont see why you would want to disable the client but leave the domains, that is basically just leaving the control panel access disabled which is something seperate you can do.
     
  5. HaMiL

    HaMiL Guest

    0
     
    Yes, i doing this!
    All client suspended by (example):

     
  6. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    why are you setting domain as the operator but sending client ID as the filter? Shouldnt you be sending domain ID - I would be highly surprised if what you posted worked.
     
Loading...