LDAP (Lightweight Directory Access Protocol) is an internet protocol for accessing distributed directory services. The appliance can authenticate admin accounts by verifying user names and passwords against LDAP. This object is used to configure the LDAP authentication service.
References to ldap_auth_service are object references.
The name part of the LDAP authentication service object has following components:
- The name of the LDAP authentication service
Example: ldap_auth_service/ZG5zLm5ldHdvcmtfdmlldyQxMTk:LDAPAuth
The object does not support the following operations:
The object cannot be managed on Cloud Platform members.
These fields are actual members of the object; thus, they can be requested by using _return_fields, if the fields are readable.
The basic version of the object contains the field(s): comment, disable, ldap_user_attribute, mode, name.
The following fields are required to create this object:
Field | Notes |
---|---|
ldap_user_attribute | |
name | |
recovery_interval | |
retries | |
servers | |
timeout |
The LDAP descriptive comment.
Type
String.
Create
The default value is empty.
Search
The field is available for search via
Notes
The comment is part of the base object.
Determines if the LDAP authentication service is disabled.
Type
Bool.
Create
The default value is False.
Search
The field is not available for search.
Notes
The disable is part of the base object.
The mapping LDAP fields to extensible attributes.
Type
A/An The LDAP extensible attribute mapping struct array.
Create
The default value is:
empty
Search
The field is not available for search.
The name of the LDAP attribute that defines group membership.
Type
String.
Create
The default value is memberOf.
Search
The field is not available for search.
The LDAP group authentication type.
Type
String.
Create
The default value is GROUP_ATTRIBUTE.
Search
The field is not available for search.
The LDAP userid attribute that is used for search.
Type
String.
Create
The field is required on creation.
Search
The field is not available for search.
Notes
The ldap_user_attribute is part of the base object.
The LDAP authentication mode.
Type
String.
Create
The default value is ORDERED_LIST.
Search
The field is available for search via
Notes
The mode is part of the base object.
The LDAP authentication service name.
Type
String.
Create
The field is required on creation.
Search
The field is available for search via
Notes
The name is part of the base object.
The period of time in seconds to wait before trying to contact a LDAP server that has been marked as ‘DOWN’.
Type
Unsigned integer.
Create
The field is required on creation.
Search
The field is not available for search.
The maximum number of LDAP authentication attempts.
Type
Unsigned integer.
Create
The field is required on creation.
Search
The field is not available for search.
The starting point of the LDAP search.
Type
String.
Create
The default value is ONELEVEL.
Search
The field is available for search via
The list of LDAP servers used for authentication.
Type
A/An The LDAP server structure struct array.
Create
The field is required on creation.
Search
The field is not available for search.
Test connectivity to LDAP server.
This function does not support multiple object matches when called as part of an atomic insertion operation.
Input fields
ldap_authservice ( String. ) The name of the parent LDAP authentication service.
ldap_server ( A/An The LDAP server structure struct. ). This parameter is mandatory. The LDAP server which will be tested. The ‘disable’ flag is ignored.
timeout ( Unsigned integer. ) The timeout in seconds. The default value is “5”.
Output fields
error_message ( String. ) The detailed description of failure.
overall_status ( String. Valid values are: “SUCCESS”, “FAILED” ) The overall status of the test.
Field | Type | Req | R/O | Base | Search |
---|---|---|---|---|---|
comment | String | N | N | Y | : = ~ |
disable | Bool | N | N | Y | N/A |
ea_mapping | [struct] | N | N | N | N/A |
ldap_group_attribute | String | N | N | N | N/A |
ldap_group_authentication_type | String | N | N | N | N/A |
ldap_user_attribute | String | Y | N | Y | N/A |
mode | String | N | N | Y | = |
name | String | Y | N | Y | : = ~ |
recovery_interval | Unsigned int | Y | N | N | N/A |
retries | Unsigned int | Y | N | N | N/A |
search_scope | String | N | N | N | = |
servers | [struct] | Y | N | N | N/A |
timeout | Unsigned int | Y | N | N | N/A |