Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-22 Thread Jason Gerard DeRose
On Wed, 2010-04-21 at 15:21 -0400, Rob Crittenden wrote: ALAHYANE Rachid wrote: Here is my apache logs : == /var/log/httpd/error_log == [Wed Apr 21 20:02:51 2010] [warn] mod_python (pid=1529,

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-22 Thread ALAHYANE Rachid
Thank you for answer, now I get this error : - NetworkError: cannot connect to u'http://localhost:/ipa/xml': Permission denied - How can I specify my ipa server address. Can I do this in

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-22 Thread ALAHYANE Rachid
Hi, As I don't know how to specify the xmlrpc_uri in the bootstrap() method, I modified this file /usr/lib/python2.6/site-packages/ipalib/constants.py. I put this line ('xmlrpc_uri', 'https://server.domain.org/ipa/xml') instead ('xmlrpc_uri', 'http://localhost:/ipa/xml') Here is the

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-22 Thread Rob Crittenden
ALAHYANE Rachid wrote: Hi, As I don't know how to specify the xmlrpc_uri in the bootstrap() method, I modified this file /usr/lib/python2.6/site-packages/ipalib/constants.py. I put this line ('xmlrpc_uri', 'https://server.domain.org/ipa/xml') instead ('xmlrpc_uri',

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-21 Thread ALAHYANE Rachid
Any ideas ? I can provide further explanations if it is not clear ;) Sorry for this mail bombing. 2010/4/20 ALAHYANE Rachid afk...@gmail.com Thanks for your answer, but I think that I don't explained my problem very clearly. Lets take this simple situation. I have two hosts: my client with

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-21 Thread Rob Crittenden
ALAHYANE Rachid wrote: Any ideas ? I can provide further explanations if it is not clear ;) I think that will be needed. You are doing server-server communication if you are running within Apache. It would be helpful if you would describe what your end goal is. rob Sorry for this mail

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-20 Thread Jason Gerard DeRose
On Tue, 2010-04-20 at 13:03 +0200, ALAHYANE Rachid wrote: Hi, Now I have another error. When I use the code of doc/examples/python-api.py inside my server XML-RPC (not the ipa server) that configured like this : == Server == - httpd conf Files xmlrpc ##

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-19 Thread Jason Gerard DeRose
On Mon, 2010-04-19 at 16:22 +0200, ALAHYANE Rachid wrote: Hi, Using F12 with the alpha version of ipa, I want to know if there is some ways to call implemented methods like user_show() with my own script python. My goal is to call these methods with a client xml-rpc that I will to

Re: [Freeipa-users] call implemented methods via xml-rpc

2010-04-19 Thread ALAHYANE Rachid
Thank you for your answer, it works ! 2010/4/19 Jason Gerard DeRose jder...@redhat.com On Mon, 2010-04-19 at 16:22 +0200, ALAHYANE Rachid wrote: Hi, Using F12 with the alpha version of ipa, I want to know if there is some ways to call implemented methods like user_show() with my own