Hi,
I recently migrate my "old" (but almost up to date, Greebo) installation of Dokuwiki to Hogfather, I did a fresh install and reintegrate all my data and conf.
Everything works fine except XML RPC access.
I it use intensively with Ansible to make documentation of my servers.
Some facts:
- before migration/Hogfather everything OK
- same configuration between 2 instances
- LDAP connection OK
- XML RPC is activated
- Remote User (LDAP one) is defined
- putPage method (which I mostly use) don't work neither basic call like getVersion
- When I leave Remote User blank (XML RPC allowed for every one) getVersion is allowed but putPage not
- my ACL below
- I need to make it work with Ansible (uri module) but for debug purpose I've done a php script, same comportment ☹️
<?php
require_once __DIR__.'/vendor/autoload.php';
use PhpXmlRpc\Value;
use PhpXmlRpc\Request;
use PhpXmlRpc\Client;
$client = new Client('/lib/exe/xmlrpc.php', 'xxx.fr', 443, 'https');
$client->setDebug(1);
$client->setCredentials('xxx', 'xxx');
$m = new Request('dokuwiki.getVersion');
$r = $client->send($m);
if($r == false) die('error');
if(!$r->faultCode()){
var_dump($r);
}
ACL :
* @ALL 0
* @user 8
I suspect a problem between ACL, LDAP and remote user but can't find which one
Thanks a lot