From 77e782e2cb5413cde9501568155cce9283ff7b7d Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 28 Jan 2009 18:16:04 -0700 Subject: Fixed bug I introduced in KerbTransport; started work on lite-xmlrpc.py to add client address to context --- ipalib/rpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/rpc.py') diff --git a/ipalib/rpc.py b/ipalib/rpc.py index 3d837b5f..5a1f9e1e 100644 --- a/ipalib/rpc.py +++ b/ipalib/rpc.py @@ -198,7 +198,7 @@ class KerbTransport(SafeTransport): else: raise e - extra_headers += [ + extra_headers = [ ('Authorization', 'negotiate %s' % kerberos.authGSSClientResponse(vc)) ] @@ -240,7 +240,7 @@ class xmlclient(Connectible): raise ValueError( '%s.forward(): %r not in api.Command' % (self.name, name) ) - self.info('Forwarding %r to %r', name, self.env.xmlrpc_uri) + self.info('Forwarding %r to server %r', name, self.env.xmlrpc_uri) command = getattr(self.conn, name) params = args + (kw,) try: -- cgit