1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct ProvidersAdsAdsItem {
    /// 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.
    #[serde(rename = "allocate_gids")]
    pub allocate_gids: 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.
    #[serde(rename = "allocate_uids")]
    pub allocate_uids: Option<bool>,
    /// Enables lookup of unqualified user names in the primary domain.
    #[serde(rename = "assume_default_domain")]
    pub assume_default_domain: Option<bool>,
    /// Enables authentication and identity management through the authentication provider.
    #[serde(rename = "authentication")]
    pub authentication: Option<bool>,
    /// Specifies the time in seconds between provider online checks.
    #[serde(rename = "check_online_interval")]
    pub check_online_interval: Option<i32>,
    /// Specifies the current time for the domain controllers.
    #[serde(rename = "controller_time")]
    pub controller_time: Option<i32>,
    /// Automatically creates a home directory on the first login.
    #[serde(rename = "create_home_directory")]
    pub create_home_directory: Option<bool>,
    /// Sends an alert if the domain goes offline.
    #[serde(rename = "domain_offline_alerts")]
    pub domain_offline_alerts: Option<bool>,
    /// Sets list of groups that can be resolved.
    #[serde(rename = "findable_groups")]
    pub findable_groups: Option<Vec<String>>,
    /// Sets list of users that can be resolved.
    #[serde(rename = "findable_users")]
    pub findable_users: Option<Vec<String>>,
    /// Specifies the Active Directory forest.
    #[serde(rename = "forest")]
    pub forest: Option<String>,
    /// Groupnet identifier.
    #[serde(rename = "groupnet")]
    pub groupnet: Option<String>,
    /// Specifies the path to the home directory template.
    #[serde(rename = "home_directory_template")]
    pub home_directory_template: Option<String>,
    /// Specifies the fully qualified hostname stored in the machine account.
    #[serde(rename = "hostname")]
    pub hostname: Option<String>,
    /// Specifies the ID of the Active Directory provider instance.
    #[serde(rename = "id")]
    pub id: Option<String>,
    /// If set to true, ignores all trusted domains.
    #[serde(rename = "ignore_all_trusts")]
    pub ignore_all_trusts: Option<bool>,
    /// Includes trusted domains when 'ignore_all_trusts' is set to false.
    #[serde(rename = "ignored_trusted_domains")]
    pub ignored_trusted_domains: Option<Vec<String>>,
    /// Includes trusted domains when 'ignore_all_trusts' is set to true.
    #[serde(rename = "include_trusted_domains")]
    pub include_trusted_domains: Option<Vec<String>>,
    /// Specifies Active Directory provider instance.
    #[serde(rename = "instance")]
    pub instance: Option<String>,
    /// Enables encryption and signing on LDAP requests.
    #[serde(rename = "ldap_sign_and_seal")]
    pub ldap_sign_and_seal: Option<bool>,
    /// Specifies the login shell path.
    #[serde(rename = "login_shell")]
    pub login_shell: Option<String>,
    /// Limits user and group lookups to the specified domains.
    #[serde(rename = "lookup_domains")]
    pub lookup_domains: Option<Vec<String>>,
    /// Looks up AD groups in other providers before allocating a group ID.
    #[serde(rename = "lookup_groups")]
    pub lookup_groups: Option<bool>,
    /// Normalizes AD group names to lowercase before look up.
    #[serde(rename = "lookup_normalize_groups")]
    pub lookup_normalize_groups: Option<bool>,
    /// Normalize AD user names to lowercase before look up.
    #[serde(rename = "lookup_normalize_users")]
    pub lookup_normalize_users: Option<bool>,
    /// Looks up AD users in other providers before allocating a user ID.
    #[serde(rename = "lookup_users")]
    pub lookup_users: Option<bool>,
    /// Specifies the SAM account name of the machine account.
    #[serde(rename = "machine_account")]
    pub machine_account: Option<String>,
    /// Specifies name to join AD as.
    #[serde(rename = "machine_name")]
    pub machine_name: Option<String>,
    /// Enables periodic changes of the machine password for security.
    #[serde(rename = "machine_password_changes")]
    pub machine_password_changes: Option<bool>,
    /// Sets maximum age of a password in seconds.
    #[serde(rename = "machine_password_lifespan")]
    pub machine_password_lifespan: Option<i32>,
    /// Specifies the Active Directory provider name.
    #[serde(rename = "name")]
    pub name: Option<String>,
    /// Specifies the NetBIOS domain name associated with the machine account.
    #[serde(rename = "netbios_domain")]
    pub netbios_domain: Option<String>,
    /// Specifies the domain controller for which the node has affinity.
    #[serde(rename = "node_dc_affinity")]
    pub node_dc_affinity: Option<String>,
    /// Specifies the timeout for the domain controller for which the local node has affinity.
    #[serde(rename = "node_dc_affinity_timeout")]
    pub node_dc_affinity_timeout: Option<i32>,
    /// Enables the Active Directory provider to respond to 'getpwent' and 'getgrent' requests.
    #[serde(rename = "nss_enumeration")]
    pub nss_enumeration: Option<bool>,
    /// Specifies the AD domain to which the provider is joined.
    #[serde(rename = "primary_domain")]
    pub primary_domain: Option<String>,
    /// Configuration recommended SPNs.
    #[serde(rename = "recommended_spns")]
    pub recommended_spns: Option<Vec<String>>,
    /// Check the provider for filtered lists of findable and unfindable users and groups.
    #[serde(rename = "restrict_findable")]
    pub restrict_findable: Option<bool>,
    /// Specifies whether to support RFC 2307 attributes on ADS domain controllers.
    #[serde(rename = "sfu_support")]
    pub sfu_support: Option<String>,
    /// Specifies the site for the Active Directory.
    #[serde(rename = "site")]
    pub site: Option<String>,
    /// Currently configured SPNs.
    #[serde(rename = "spns")]
    pub spns: Option<Vec<String>>,
    /// Specifies the status of the provider.
    #[serde(rename = "status")]
    pub status: Option<String>,
    /// Stores SFU mappings permanently in the ID mapper.
    #[serde(rename = "store_sfu_mappings")]
    pub store_sfu_mappings: Option<bool>,
    /// If set to true, indicates that this provider instance was created by OneFS and cannot be removed.
    #[serde(rename = "system")]
    pub system: Option<bool>,
    /// Specifies groups that cannot be resolved by the provider.
    #[serde(rename = "unfindable_groups")]
    pub unfindable_groups: Option<Vec<String>>,
    /// Specifies users that cannot be resolved by the provider.
    #[serde(rename = "unfindable_users")]
    pub unfindable_users: Option<Vec<String>>,
}