name_type=NT_SRV_INST, names=["krbtgt", realm])
rep = self.as_req(cname, sname, realm, etype)
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
name_type=NT_SRV_INST, names=["krbtgt", realm])
rep = self.as_req(cname, sname, realm, etype)
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
# principal should not be found in this case
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_as_reply(rep)
salt = "%s%s" % (realm.upper(), user_name)
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_pre_authentication(rep)
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
name_type=NT_SRV_INST, names=["krbtgt", realm])
rep = self.as_req(cname, sname, realm, etype)
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
name_type=NT_SRV_INST, names=["krbtgt", realm])
rep = self.as_req(cname, sname, realm, etype)
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_pre_authentication(rep)
# Do the next AS-REQ
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_pre_authentication(rep)
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_as_reply(rep)
salt = "%s%s" % (realm.upper(), user_name)
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
self.check_pre_authentication(rep)
if not self.uncanonicalized_implicit_dollar:
self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
return
+ if self.require_canonicalization:
+ # we have not provided the canonicalize (or any other) kdcoption
+ # so preauth will fail.
+ self.check_error_rep(rep, KDC_ERR_C_PRINCIPAL_UNKNOWN)
+ return
+
self.check_pre_authentication(rep)
# Do the next AS-REQ
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_enterprise_principal_step_1_3\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_enterprise_principal_step_4\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_enterprise_principal_step_5\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_enterprise_principal_step_6_a\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_enterprise_principal_step_6_b\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_1\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_2\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_3\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_4_a\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_4_b\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_4_c\(schema_dc\)
-^samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.samba\.tests\.krb5\.ms_kile_client_principal_lookup_tests\.MS_Kile_Client_Principal_Lookup_Tests\.test_nt_principal_step_6_c\(schema_dc\)
^samba\.tests\.krb5\.as_req_tests\.samba\.tests\.krb5\.as_req_tests\.AsReqKerberosTests\.test_as_req_enc_timestamp\(schema_dc\)
^samba\.tests\.krb5\.as_req_tests\.samba\.tests\.krb5\.as_req_tests\.AsReqKerberosTests\.test_as_req_enc_timestamp_aes128_rc4\(schema_dc\)
^samba\.tests\.krb5\.as_req_tests\.samba\.tests\.krb5\.as_req_tests\.AsReqKerberosTests\.test_as_req_enc_timestamp_mac\(schema_dc\)