This test uses the altsecid, so the AS-REQ should fail.
"""
- # Create user and machine accounts for the test.
+ # Create a user account for the test.
#
samdb = self.get_samdb()
user_name = "mskileusr"
alt_sec = "Kerberos:%s@%s" % (alt_name, realm)
self.add_attribute(samdb, dn, "altSecurityIdentities", alt_sec)
- mach_name = "mskilemac"
- (mc, _) = self.create_account(samdb, mach_name,
- account_type=self.AccountType.COMPUTER)
-
# Do the initial AS-REQ, should get a pre-authentication required
# response
etype = (AES256_CTS_HMAC_SHA1_96, ARCFOUR_HMAC_MD5)
This test uses the altsecid, so the AS-REQ should fail.
"""
- # Create user and machine accounts for the test.
+ # Create a user account for the test.
#
samdb = self.get_samdb()
user_name = "mskileusr"
self.add_attribute(samdb, dn, "altSecurityIdentities", alt_sec)
ename = alt_name + "@" + realm
- mach_name = "mskilemac"
- (mc, _) = self.create_account(samdb, mach_name,
- account_type=self.AccountType.COMPUTER)
-
# Do the initial AS-REQ, should get a pre-authentication required
# response
etype = (AES256_CTS_HMAC_SHA1_96, ARCFOUR_HMAC_MD5)