client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication fails.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt,
expected_error=KDC_ERR_POLICY)
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication succeeds.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt)
self.check_as_log(client_creds,
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication fails.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt,
expected_error=KDC_ERR_POLICY)
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication fails.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt,
expected_error=KDC_ERR_POLICY)
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication fails.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt,
expected_error=KDC_ERR_POLICY)
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication succeeds.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt)
self.check_as_log(client_creds,
client_creds = self._get_creds(account_type=self.AccountType.USER,
assigned_policy=client_policy)
- target_creds = self.get_krbtgt_creds()
-
# Show that authentication fails.
self._armored_as_req(client_creds,
- target_creds,
+ self.get_krbtgt_creds(),
mach_tgt,
expected_error=KDC_ERR_POLICY)