Fix delegation using the special python-kerberos patch.

This commit is contained in:
Simo Sorce committed 2009-01-26 14:44:49 -05:00
1 parent 077d6a0d35
commit c4ed025001
1 file changed
+4 -1
+4 -1
View File
@@ -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)