Fix delegation using the special python-kerberos patch.

This commit is contained in:
Simo Sorce 2009-01-26 14:37:53 -05:00
parent 077d6a0d35
commit c4ed025001

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)