Skip to main content

Crate awol2005ex_kinit

Crate awol2005ex_kinit 

Source
Expand description

Kinit library - Kerberos authentication using password or keytab

This library provides functionality for Kerberos authentication similar to the kinit command. It supports both password and keytab authentication modes.

Re-exports§

pub use auth::kinit_with_password;
pub use auth::kinit_with_keytab;
pub use config::get_kdc_ip_from_config;
pub use config::parse_krb5_conf_for_kdc;
pub use config::get_default_keytab_path;
pub use config::get_keytab_from_config;
pub use config::parse_krb5_conf_for_keytab;
pub use keytab::load_key_from_keytab;
pub use utils::parse_principal;

Modules§

auth
Authentication functions for kinit
config
Kerberos configuration handling
keytab
Keytab file handling
utils
Utility functions for kinit

Structs§

KinitConfig
Kinit configuration

Enums§

AuthMethod
Authentication method enum

Functions§

kinit
Main kinit function that handles both password and keytab authentication