Submitted by counterpart on Thu, 09/14/2017 - 10:30 Pro Licensee
OS: Slackware 14.2
Hi,
We're currently trying to use the remote API that virtualmin offers, to return the information of any resellers that we have on a server, and noticed that none of the scripts located in /usr/libexec/webmin/virtual-server/pro were accessible by the remote API.
e.g
wget -O - --quiet --http-user=root --http-passwd=example 'https://localhost:10000/virtual-server/remote.cgi?program=list-resellers...' ERROR: Remote program list-resellers does not exist
Is this intended, or is there way to run pro scripts via the remote API?
Thanks,
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 09/14/2017 - 11:14 Comment #1
Howdy -- hmm, does that command work when run on the command line?
That is, what output do you see when running "virtualmin list-resellers" as root on your server?
Also, what is the output of this command:
virtualmin licence-info
Submitted by JamieCameron on Thu, 09/14/2017 - 22:29 Comment #2
Ok, this is a bug - it will be fixed in the next release though. If you want a fix sooner, you can apply this patch : https://github.com/virtualmin/virtualmin-gpl/commit/80002dd874132d282898...
Submitted by JamieCameron on Thu, 09/14/2017 - 22:29 Comment #3
Submitted by IssueBot on Mon, 10/02/2017 - 07:30 Comment #4
Automatically closed - issue fixed for 2 weeks with no activity.