summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/b_xmlrpc.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-04 01:50:59 -0400
committerRob Crittenden <rcritten@redhat.com>2008-10-04 01:50:59 -0400
commit7e4b0a072e69351496010d7b2151c9b434c8fdb0 (patch)
tree334c035cd46ce882fee05a8beed53c0e7c4cb127 /ipalib/plugins/b_xmlrpc.py
parent3ffbaac64cc3a9ab704c707112f59e041986576c (diff)
downloadfreeipa.git-7e4b0a072e69351496010d7b2151c9b434c8fdb0.tar.gz
freeipa.git-7e4b0a072e69351496010d7b2151c9b434c8fdb0.tar.xz
freeipa.git-7e4b0a072e69351496010d7b2151c9b434c8fdb0.zip
Implement user-find and user-add backend functions so they work over XML-RPC
Change port to 8880 to not conflict with a running IPA v1 instance Encode incoming values from unicode as utf-8 before sending to LDAP
Diffstat (limited to 'ipalib/plugins/b_xmlrpc.py')
-rw-r--r--ipalib/plugins/b_xmlrpc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugins/b_xmlrpc.py b/ipalib/plugins/b_xmlrpc.py
index 61935f01..f8dacf5d 100644
--- a/ipalib/plugins/b_xmlrpc.py
+++ b/ipalib/plugins/b_xmlrpc.py
@@ -35,7 +35,7 @@ class xmlrpc(Backend):
def get_client(self):
# FIXME: The server uri should come from self.api.env.server_uri
- return xmlrpclib.ServerProxy('http://localhost:8080', allow_none=True)
+ return xmlrpclib.ServerProxy('http://localhost:8888', allow_none=True)
def forward_call(self, name, *args, **kw):
"""
@@ -45,5 +45,6 @@ class xmlrpc(Backend):
command = getattr(client, name)
params = xmlrpc_marshal(*args, **kw)
return command(*params)
+# return command(*args, **kw)
api.register(xmlrpc)