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§
- Kinit
Config - Kinit configuration
Enums§
- Auth
Method - Authentication method enum
Functions§
- kinit
- Main kinit function that handles both password and keytab authentication