# This is not implemented yet
^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_ticket_samlogon
-# These will be fixed in the next commits
-^samba.tests.krb5.netlogon.*.NetlogonSchannel.test_.*_samlogon_.*_authK
break;
case NDR_NETR_LOGONSAMLOGONEX:
default:
- if (auth_type != DCERPC_AUTH_TYPE_SCHANNEL) {
- return NT_STATUS_ACCESS_DENIED;
- }
-
nt_status = dcesrv_netr_check_schannel(dce_call,
creds,
auth_type,
if (!NT_STATUS_IS_OK(nt_status)) {
return nt_status;
}
+
+ if (!creds->authenticate_kerberos &&
+ auth_type != DCERPC_AUTH_TYPE_SCHANNEL)
+ {
+ return NT_STATUS_ACCESS_DENIED;
+ }
+
break;
}
case NetlogonGenericInformation:
{
- if (creds->negotiate_flags & NETLOGON_NEG_SUPPORTS_AES) {
+ if (creds->authenticate_kerberos) {
+ /* OK */
+ } else if (creds->negotiate_flags & NETLOGON_NEG_SUPPORTS_AES) {
/* OK */
} else if (creds->negotiate_flags & NETLOGON_NEG_ARCFOUR) {
/* OK */