pub struct LdapConfig {
pub domain: Option<String>,
pub groups_ou: Option<String>,
pub servers: Option<Vec<String>>,
pub users_ou: Option<String>,
}Expand description
LdapConfig contains all the parameters for connecting to LDAP servers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§domain: Option<String>Required. The LDAP domain name in the format of my-domain.com.
groups_ou: Option<String>Optional. The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
servers: Option<Vec<String>>Required. The servers names are used for specifying the LDAP servers names. The LDAP servers names can come with two formats: 1. DNS name, for example: ldap.example1.com, ldap.example2.com. 2. IP address, for example: 10.0.0.1, 10.0.0.2, 10.0.0.3. All servers names must be in the same format: either all DNS names or all IP addresses.
users_ou: Option<String>Optional. The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
Trait Implementations§
Source§impl Clone for LdapConfig
impl Clone for LdapConfig
Source§fn clone(&self) -> LdapConfig
fn clone(&self) -> LdapConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more