Enum kanidm_unix::KanidmUnixOpt
source · pub enum KanidmUnixOpt {
AuthTest {
debug: bool,
account_id: String,
},
CacheClear {
debug: bool,
really: bool,
},
CacheInvalidate {
debug: bool,
},
Status {
debug: bool,
},
Version {
debug: bool,
},
}
Variants§
AuthTest
Test authentication of a user via the unixd resolver “pam” channel. This does not test that your pam configuration is correct - only that unixd is correctly processing and validating authentications.
CacheClear
Erase the content of the unixd resolver cache. You should probably use invalidate
instead.
CacheInvalidate
Invalidate, but don’t erase the content of the unixd resolver cache. This will force the unixd daemon to refresh all user and group content immediately. If the connection is offline, entries will still be available and will be refreshed as soon as the daemon is online again.
Status
Check that the unixd daemon is online and able to connect correctly to the kanidmd server.
Version
Show the version of this tool.
Trait Implementations§
source§impl Debug for KanidmUnixOpt
impl Debug for KanidmUnixOpt
source§impl FromArgMatches for KanidmUnixOpt
impl FromArgMatches for KanidmUnixOpt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for KanidmUnixOpt
impl Subcommand for KanidmUnixOpt
source§fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommand