return cachefile
def create_ccache_with_user(self, user_credentials, mach_credentials,
- service="host", target_name=None):
+ service="host", target_name=None, pac=True):
# Obtain a service ticket authorising the user and place it into a
# newly created credentials cache file.
service=service,
target_name=target_name)
+ if not pac:
+ ticket = self.modified_ticket(ticket, exclude_pac=True)
+
# Write the ticket into a credentials cache file that can be ingested
# by the main credentials code.
cachefile = self.create_ccache(cname, ticket.ticket,