fumigator
I've been trying to get the (experimental) XMLRPC functionality to work with my Wiki, which uses Active Directory to control access to it. I think this kind of thing is something 1% of Dokuwiki users would even remotely have any need for, but it would be extremely handy for me. I've exhausted the documentation on the subject (mailing list, forum, pages on Dokuwiki.org) so I'm pretty certain this combination has not yet been implemented.
Can anyone confirm this is the case?
(just for background, I got XMLRPC working fine, adding pages, as long as auth type is "plain". Set to "ad", it will not recognize the user as having the authority to write a page, even when the user is "admin".)
lupo49
Did you checked it one time with this option
http://www.dokuwiki.org/config:xmlrpcuser enabled and once again after setting it to an empty value?
fumigator
Yes; I've tried setting xmlrpcuser to <empty>, @admin, @it_group (ACL group with full read rights), username, and combinations of all of these. But with auth = AD, I always receive <value><string>You are not allowed to edit this page</string></value> back.
I just realized something that may be causing the problem. I'm using the virtualgroup plugin to handle user security, rather than depend on Active Directory groups (which seem to take an act of congress to get updated as I don't have the authority to change AD here). This is most likely the culprit. I'll see if I can get an AD group set up to test with.
fumigator
YES! That did the trick. I just need to go through the painful process of approving a new group for the ID I'm using for the auto-creator process. XMLRPC is another win for Dokuwiki! :-D
lupo49
I didnt get it yet.
You need to add a new group for the xmlrpc user?
fumigator
A new AD group, yes. Normally using AD, you'd set up AD groups, attach users to them, and then in the Dokuwiki ACL panel, set up page/namespace access using the names of the AD groups. The way the virtualgroup plugin works, you don't have to do this-- you can assign users to virtual groups, and you can then set up page/namespace access using the names of the virtual groups.
Since the virtualgroup plugin doesn't cross paths with XMLRPC, though, I had to resort to the normal way of doing things and add an AD group to set up access to the Wiki via XMLRPC.
estebanito
... I had to resort to the normal way of doing things and add an AD group to set up access to the Wiki via XMLRPC.
In the site index of the acl plugin 'xmlrpc' is not listed. How and where can I set access to xmlrpc? Any help would be great. I have experienced the same story like you, with plain auth it works, if the wiki uses the AD for authentication, I get "401 - Unauthorized: Access is denied due to invalid credentials."
TIA