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).