Reseller get "Permission denied" on dns operations via API-RPC.

Refers to:

  • Plesk for Linux
  • Plesk 11.5 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:39:37 UTC

Modified:

2016-12-21 18:54:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Reseller get "Permission denied" on dns operations via API-RPC.

Symptoms

Executing the following API request under reseller fails with "Permission denied" error:

    root@hostname:~# cat request.xml
<packet version="1.6.5.0">
<dns>
<get_rec>
<filter>
<site-id>9</site-id>
</filter>
</get_rec>
</dns>
</packet>

Running request under reseller:

# curl -k -d @request.xml  -H "Content-type: text/xml" -H "HTTP_PRETTY_PRINT: TRUE" -H "HTTP_AUTH_LOGIN: Reseller_name" -H "HTTP_AUTH_PASSWD: Reseller_password" https://localhost:8443/enterprise/control/agent.php

I get the following error:

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.4">
<dns>
<get_rec>
<result>
<status>error</status>
<errcode>1006</errcode>
<errtext>Permission denied.</errtext>
</result>
</get_rec>
</dns>
</packet>

Cause

Internal issue #PPPM-973 .

Resolution

The mentioned issue was solved in Parallels Plesk Panel 11.5.30 MU#33, please consider to upgrade or install the latest microupdates. Please refer to the following KB for details .

Have more questions? Submit a request
Please sign in to leave a comment.