Struct ProvidersAdsItem

Source
pub struct ProvidersAdsItem {
Show 42 fields pub account: Option<String>, pub allocate_gids: Option<bool>, pub allocate_uids: Option<bool>, pub assume_default_domain: Option<bool>, pub authentication: Option<bool>, pub check_online_interval: Option<i32>, pub controller_time: Option<i32>, pub create_home_directory: Option<bool>, pub dns_domain: Option<String>, pub domain_offline_alerts: Option<bool>, pub findable_groups: Option<Vec<String>>, pub findable_users: Option<Vec<String>>, pub groupnet: Option<String>, pub home_directory_template: Option<String>, pub ignore_all_trusts: Option<bool>, pub ignored_trusted_domains: Option<Vec<String>>, pub include_trusted_domains: Option<Vec<String>>, pub instance: Option<String>, pub kerberos_hdfs_spn: Option<bool>, pub kerberos_nfs_spn: Option<bool>, pub ldap_sign_and_seal: Option<bool>, pub login_shell: Option<String>, pub lookup_domains: Option<Vec<String>>, pub lookup_groups: Option<bool>, pub lookup_normalize_groups: Option<bool>, pub lookup_normalize_users: Option<bool>, pub lookup_users: Option<bool>, pub machine_name: Option<String>, pub machine_password_changes: Option<bool>, pub machine_password_lifespan: Option<i32>, pub name: String, pub node_dc_affinity: Option<String>, pub node_dc_affinity_timeout: Option<i32>, pub nss_enumeration: Option<bool>, pub organizational_unit: Option<String>, pub password: String, pub restrict_findable: Option<bool>, pub sfu_support: Option<String>, pub store_sfu_mappings: Option<bool>, pub unfindable_groups: Option<Vec<String>>, pub unfindable_users: Option<Vec<String>>, pub user: String,
}

Fields§

§account: Option<String>

Specifies the machine account name when creating a SAM account with Active Directory. The default cluster name is called ‘default’.

§allocate_gids: Option<bool>

Allocates an ID for an unmapped Active Directory (ADS) group. ADS groups without GIDs can be proactively assigned a GID by the ID mapper. If the ID mapper option is disabled, GIDs are not proactively assigned, and when a primary group for a user does not include a GID, the system may allocate one.

§allocate_uids: Option<bool>

Allocates a user ID for an unmapped Active Directory (ADS) user. ADS users without UIDs can be proactively assigned a UID by the ID mapper. IF the ID mapper option is disabled, UIDs are not proactively assigned, and when an identify for a user does not include a UID, the system may allocate one.

§assume_default_domain: Option<bool>

Enables lookup of unqualified user names in the primary domain.

§authentication: Option<bool>

Enables authentication and identity management through the authentication provider.

§check_online_interval: Option<i32>

Specifies the time in seconds between provider online checks.

§controller_time: Option<i32>

Specifies the current time for the domain controllers.

§create_home_directory: Option<bool>

Automatically creates a home directory on the first login.

§dns_domain: Option<String>

Specifies the DNS search domain. Set this parameter if the DNS search domain has a unique name or address.

§domain_offline_alerts: Option<bool>

Sends an alert if the domain goes offline.

§findable_groups: Option<Vec<String>>

Sets list of groups that can be resolved.

§findable_users: Option<Vec<String>>

Sets list of users that can be resolved.

§groupnet: Option<String>

Groupnet identifier.

§home_directory_template: Option<String>

Specifies the path to the home directory template.

§ignore_all_trusts: Option<bool>

If set to true, ignores all trusted domains.

§ignored_trusted_domains: Option<Vec<String>>

Includes trusted domains when ‘ignore_all_trusts’ is set to false.

§include_trusted_domains: Option<Vec<String>>

Includes trusted domains when ‘ignore_all_trusts’ is set to true.

§instance: Option<String>

Specifies Active Directory provider instance.

§kerberos_hdfs_spn: Option<bool>

Determines if connecting through HDFS with Kerberos.

§kerberos_nfs_spn: Option<bool>

Determines if connecting through NFS with Kerberos.

§ldap_sign_and_seal: Option<bool>

Enables encryption and signing on LDAP requests.

§login_shell: Option<String>

Specifies the login shell path.

§lookup_domains: Option<Vec<String>>

Limits user and group lookups to the specified domains.

§lookup_groups: Option<bool>

Looks up AD groups in other providers before allocating a group ID.

§lookup_normalize_groups: Option<bool>

Normalizes AD group names to lowercase before look up.

§lookup_normalize_users: Option<bool>

Normalize AD user names to lowercase before look up.

§lookup_users: Option<bool>

Looks up AD users in other providers before allocating a user ID.

§machine_name: Option<String>

Specifies name to join AD as.

§machine_password_changes: Option<bool>

Enables periodic changes of the machine password for security.

§machine_password_lifespan: Option<i32>

Sets maximum age of a password in seconds.

§name: String

Specifies the Active Directory provider name.

§node_dc_affinity: Option<String>

Specifies the domain controller for which the node has affinity.

§node_dc_affinity_timeout: Option<i32>

Specifies the timeout for the domain controller for which the local node has affinity.

§nss_enumeration: Option<bool>

Enables the Active Directory provider to respond to ‘getpwent’ and ‘getgrent’ requests.

§organizational_unit: Option<String>

Specifies the organizational unit.

§password: String

Specifies the password used during domain join.

§restrict_findable: Option<bool>

Check the provider for filtered lists of findable and unfindable users and groups.

§sfu_support: Option<String>

Specifies whether to support RFC 2307 attributes on ADS domain controllers.

§store_sfu_mappings: Option<bool>

Stores SFU mappings permanently in the ID mapper.

§unfindable_groups: Option<Vec<String>>

Specifies groups that cannot be resolved by the provider.

§unfindable_users: Option<Vec<String>>

Specifies users that cannot be resolved by the provider.

§user: String

Specifies the user name that has permission to join a machine to the given domain.

Trait Implementations§

Source§

impl Debug for ProvidersAdsItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ProvidersAdsItem

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ProvidersAdsItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Err = <U as TryFrom<T>>::Err

Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,