Currently trying to implement a simple KDC using the Kerberos.Net nuget..
I have successfully gotten a token via the bruce tools that follow along, but if I try via java's kinit or MIT Kerberos client windows I get: (NOTICE i get same error with the kerberos.net samples)
kinit: ASN.1 failed call to system time library while getting initial credentials
If I try from a Ubunto 20.04 machine, with knit (installed krb5-client), I get the following error.:
Kerberos.NET.KerberosValidationException: Timestamp window is greater than allowed skew. Start: 7/14/2042 1:04:05 AM +00:00; End: 10/15/2021 12:13:14 PM +00:00; Skew: 00:05:00 at Kerberos.NET.Server.PaDataTimestampHandler.Validate(KrbKdcReq asReq, PreAuthenticationContext preauth) in C:\Kerberos.NET-develop\Kerberos.NET\Server\PaDataTimestampHandler.cs:line 60
Setup running is a:
AD-DC windows serv. 2019 Windows 10 client (Joined above domain) Console app (KDC) on a second windows 10 client Ubuntu 20.04
Goal have own kdc be trusted by AD-DC, and allow login.