System Administration > Configuration > Directory Service > LDAP Servers

Create a LDAP server for directory domain (Deprecated)

More than one LDAP server can be created and only one LDAP server is used to synchronize directory objects. If more than one LDAP server is configured, NSX will try all the servers until it is able to successfully connect to one. Deprecated:
Use the following Policy API -
POST /policy/api/v1/infra/firewall-identity-stores/<firewall-identity-store-id>/ldap-servers/<ldap-server-id>

Request:

Method:
POST
URI Path(s):
/api/v1/directory/domains/{domain-id}/ldap-servers
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DirectoryLdapServer+

Example Request:

POST https://<nsx-mgr>/api/v1/directory/domains/756c3f9f-c03a-43fc-9414-400a1891a239/ldap-servers { "host": "10.161.34.143", "username": "dummy", "password": "dummy", "display_name": "nimbus LDAP", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "port": 389, "protocol": "LDAP" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
DirectoryLdapServer+

Example Response:

{ "resource_type": "DirectoryLdapServer", "id": "01ad13c6-23c1-4175-ad3f-881eac8e45ef", "display_name": "nimbus LDAP", "protocol": "LDAP", "port": 389, "host": "10.161.34.143", "thumbprint": "3b1f4f3b636569d648a3092fc5b5b00fe4f6ec6abd34de86ae657f4bba22913e", "enabled": true, "_create_user": "admin", "_create_time": 1521154561239, "_last_modified_user": "admin", "_last_modified_time": 1521154561239, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

directory_service

Additional Errors: