ldap-server host ldap-hostname

Specify the hostname of LDAP server

ldap-hostname Specification

Type Collection
Object Key(s) hostname
Collection Name ldap-hostname-list
Collection URI /axapi/v3/ldap-server/host/ldap-hostname/
Element Name ldap-hostname
Element URI /axapi/v3/ldap-server/host/ldap-hostname/{hostname}
Element Attributes ldap-hostname_attributes
Schema ldap-hostname schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/ldap-server/host/ldap-hostname/

ldap-hostname Attributes

Create List

POST

/axapi/v3/ldap-server/host/ldap-hostname/

ldap-hostname Attributes

Get Object

GET

/axapi/v3/ldap-server/host/ldap-hostname/{hostname}

ldap-hostname Attributes

Get List

GET

/axapi/v3/ldap-server/host/ldap-hostname/

ldap-hostname-list

Modify Object

POST

/axapi/v3/ldap-server/host/ldap-hostname/{hostname}

ldap-hostname Attributes

Replace Object

PUT

/axapi/v3/ldap-server/host/ldap-hostname/{hostname}

ldap-hostname Attributes

Replace List

PUT

/axapi/v3/ldap-server/host/ldap-hostname/

ldap-hostname-list

Delete Object

DELETE

/axapi/v3/ldap-server/host/ldap-hostname/{hostname}

ldap-hostname Attributes

ldap-hostname-list

ldap-hostname-list is JSON List of ldap-hostname Attributes

ldap-hostname-list : [

ldap-hostname Attributes

base

Description: Configure the group DN which user belongs to

Type: string

Format: string-rlx

cn-value

Description: The cn option specifies the value for the Common Name (CN) attribute.The dn option specifies the value for the Distinguished Name (DN) attribute. NOTE: For the dn option, do not use quotation marks. For example, the following DN string syntax is valid: cn=xxx3,dc=maxcrc,dc=comThe following string is not valid:“cn=xxx3,dc=maxcrc,dc=com”

Type: string

dn-value

Description: The cn option specifies the value for the Common Name (CN) attribute.The dn option specifies the value for the Distinguished Name (DN) attribute. NOTE: For the dn option, do not use quotation marks. For example, the following DN string syntax is valid: cn=xxx3,dc=maxcrc,dc=comThe following string is not valid:“cn=xxx3,dc=maxcrc,dc=com”

Type: string

Format: string-rlx

domain

Description: Configure AD domain name

Type: string

domain-cfg

Description: domain-cfg is a JSON Block . Please see below for domain-cfg

Type: Object

group

Description: Configure the group DN which user belongs to

Type: string

Format: string-rlx

hostname

Description: Hostname or IP address of the LDAP server.

Type: string

Required: Yes

port-cfg

Description: port-cfg is a JSON Block . Please see below for port-cfg

Type: Object

uuid

Description: uuid of the object

Type: string

port-cfg

Specification
Type object

port

Description: Specifies the protocol port on which the server listens for LDAP traffic.The default port is 389.

Type: number

Range: 1-65535

ssl

Description: Uses SSL to secure the connection.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

timeout

Description: Specifies the maximum number of seconds the ACOS device waits for a reply from the LDAP server for a given request. You can specify 1-60 seconds. If the LDAP server does not reply before the timeout, authentication of the admin fails. The default timeout is 44 seconds.

Type: number

Range: 1-60

domain-cfg

Specification
Type object

port

Description: Specify the LDAP server’s port (default 389 without ssl or 636 with ssl)

Type: number

Range: 1-65535

ssl

Description: Use SSL

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

timeout

Description: Specify the LDAP server’s timeout (default 3)

Type: number

Range: 1-60