⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

kinit_command

Function kinit_command 

Source
pub fn kinit_command(
    username: &str,
    realm: &str,
    password: &str,
    cache: &mut TicketCache,
) -> Vec<u8>
Expand description

Perform a kinit-like operation: derive key, request TGT, store in cache.

Returns the encoded AS-REQ bytes (caller must send to KDC and feed the response back via process_kinit_response).