Hi There!,
KERB_TICKET_LOGON is a documented logon structure for LsaLogonUser and requires a host service ticket in ASN.1 format. However, Microsoft does not provide documentation or a sample confirming its use through a Credential Provider for initial sign-in (CPUS_LOGON), including the expected representation of the ServiceTicket field in the serialized buffer.
Since the same ticket succeeds through LsaLogonUser but fails through GetSerialization with STATUS_INVALID_PARAMETER (0xC000000D), further investigation of the serialization and buffer layout is warranted.
I recommend verifying:
- The Kerberos authentication package ID.
- The host SPN and PAC contents.
- The packed buffer layout, offsets, and total serialization length.
References:
Based on the available documentation, Microsoft does not explicitly confirm support for this specific CPUS_LOGON scenario.
Hope this helps!
Ronald.