Fix delegation using the special python-kerberos patch.
This commit is contained in:
1 parent
077d6a0d35
commit
c4ed025001
1 file changed
+4
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user