Hi, I'm trying to configure Cloudflare plugin (3.0.0-28) for plesk (11.0.9 Update #51), but it seams to doesn't make changes to domain DNS zone. The plugin obtains from plesk environment the reseller/customer user and password and by Plesk API-RPC it tries to add/modify dns records.
Debugging the script, this is one of the requests done:
And the response returned by plesk:
If the plug-in form is filled with admin as user and its password, the dns records are correctly modified, but my customers can't obviously use the admin credentials.
In plesk-10-api-rpc-guide.pdf is reported:
How i can assign the necessary rights to my customers for correctly use Cloudflare plugin?
Thanks!
Code:
define ('PLESK_ADMIN_URL', 'https://' . getenv("BASE_URL_HOST") . ':8443/enterprise/control/agent.php');
define ('PLESK_ADMIN_USER', getenv("SETTINGS_admin_login"));
define ('PLESK_ADMIN_PASS', getenv("SETTINGS_admin_password"));
Debugging the script, this is one of the requests done:
Code:
<packet version="1.6.3.0"><dns><get_rec><filter><site-id>43</site-id></filter></get_rec></dns></packet><?xml version="1.0" encoding="UTF-8"?>
And the response returned by plesk:
Code:
<packet version="1.6.3.0"><dns><get_rec><result><status>error</status><errcode>1006</errcode><errtext>Permission denied.</errtext></result></get_rec></dns></packet>
If the plug-in form is filled with admin as user and its password, the dns records are correctly modified, but my customers can't obviously use the admin credentials.
In plesk-10-api-rpc-guide.pdf is reported:
Plesk clients/resellers have access to a limited number of operations within each
particular version of API RPC. When using a Plesk client/reseller account, a strict
requirement is that options 'CP access' and 'Ability to use remote XML interface' are
enabled, of which Plesk Administrator should be requested in advance.
But i can't find the 'Ability to use remote XML interface' option in plesk 11. particular version of API RPC. When using a Plesk client/reseller account, a strict
requirement is that options 'CP access' and 'Ability to use remote XML interface' are
enabled, of which Plesk Administrator should be requested in advance.
How i can assign the necessary rights to my customers for correctly use Cloudflare plugin?
Thanks!