Re: XMLRPC Roundup API authentication issue
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 25, 2015 at 01:31:38PM +0200, Nicolas CHAUDAN wrote: > Hello everyone, > > I am trying to create an API using the client API of the XMLRPC acess to > roundup which you can find here but I have some issues regarding the > authentication. Indeed, I have permission denied when I try to "lookup" or > "display" on the class user while I provided the url with the admin > authentication. > So I have looked at the python file (xmlrpc.py) which implements these > methods (eg display, lookup, etc...) and I have found that the method > getuid (which is defined in roundupdb.py) doesn't get the right value. I > mean that even if I send the admin authentication in the url he it doesn't > get it and so it considers that the one who owns the connection to the > database is Anonymous. > In the definition of the method getuid, there is "journaltag" and I can't > figure out where it come from and I think this is the key to the > resolution of my problem. Im regularly using xmlrpc without problems, can you give us the URL you are using to connect to the server (without password of course)? Can you get a log from the roundup server side? This should tell you why it failed. I'm sure that getuid works as advertised, so you are probably really connected as anonymous for one reason or other. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: http://www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected] allmenda.com member email: [email protected] ------------------------------------------------------------------------------