Enum kanidm_cli::DomainOpt
source · pub enum DomainOpt {
SetDisplayName(OptSetDomainDisplayName),
SetLdapBasedn {
copt: CommonOpt,
new_basedn: String,
},
Show(CommonOpt),
ResetTokenKey(CommonOpt),
}
Variants§
SetDisplayName(OptSetDomainDisplayName)
Set the domain display name
SetLdapBasedn
Change the basedn of this server. Takes effect after a server restart.
Examples are o=organisation
or dc=domain,dc=name
. Must be a valid ldap
dn containing only alphanumerics, and dn components must be org (o), domain (dc) or
orgunit (ou).
Show(CommonOpt)
Show information about this system’s domain
ResetTokenKey(CommonOpt)
Reset this domain token signing key. This will cause all user sessions to be invalidated (logged out).
Implementations§
Trait Implementations§
source§impl FromArgMatches for DomainOpt
impl FromArgMatches for DomainOpt
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 DomainOpt
impl Subcommand for DomainOpt
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