Enum kanidm_cli::DomainOpt
source · pub enum DomainOpt {
SetDisplayName(OptSetDomainDisplayName),
SetLdapBasedn {
copt: CommonOpt,
new_basedn: String,
},
SetLdapAllowUnixPasswordBind {
copt: CommonOpt,
enable: bool,
},
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).
SetLdapAllowUnixPasswordBind
Enable or disable unix passwords being used to bind via LDAP. Unless you have a specific requirement for this, you should disable this.
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) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl RefUnwindSafe for DomainOpt
impl Send for DomainOpt
impl Sync for DomainOpt
impl Unpin for DomainOpt
impl UnwindSafe for DomainOpt
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more