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:37:53 -0500
commit689ec35472907103be9af5b89efc881f88a512b3 (patch)
tree751585e84258ce43fbc2e2d96ed886397136f677
parent57e33f81bf8b12faae7f3061cc852bf078605986 (diff)
downloadfreeipa-689ec35472907103be9af5b89efc881f88a512b3.tar.gz
freeipa-689ec35472907103be9af5b89efc881f88a512b3.tar.xz
freeipa-689ec35472907103be9af5b89efc881f88a512b3.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 3d13fed0..b700afe7 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)