summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-01-26 14:37:53 -0500
committerSimo Sorce <ssorce@redhat.com>2009-01-26 14:44:49 -0500
commitc4ed025001895bfc65c613cabbbfcb27c19cc29f (patch)
tree8b2645f47f68127870e4a982af34152f5cb910e9
parent077d6a0d3591106c189dd72278668d0669c176a1 (diff)
downloadfreeipa-c4ed025001895bfc65c613cabbbfcb27c19cc29f.tar.gz
freeipa-c4ed025001895bfc65c613cabbbfcb27c19cc29f.tar.xz
freeipa-c4ed025001895bfc65c613cabbbfcb27c19cc29f.zip
Fix delegation using the special python-kerberos patch.
-rw-r--r--ipa-python/krbtransport.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipa-python/krbtransport.py b/ipa-python/krbtransport.py
index 3d13fed0f..b700afe7c 100644
--- a/ipa-python/krbtransport.py
+++ b/ipa-python/krbtransport.py
@@ -34,7 +34,10 @@ class KerbTransport(xmlrpclib.SafeTransport):
service = "HTTP@" + hostinfo[0]
try:
- rc, vc = kerberos.authGSSClientInit(service);
+ rc, vc = kerberos.authGSSClientInit(service,
+ kerberos.GSS_C_DELEG_FLAG |
+ kerberos.GSS_C_MUTUAL_FLAG |
+ kerberos.GSS_C_SEQUENCE_FLAG)
except kerberos.GSSError, e:
raise kerberos.GSSError(e)