enterpriseDirectory

Last Updated : Oct 09, 2020 |

This API is used to edit enterprise directory or view it.

Syntax to edit:

enterpriseDirectory baseDN hostFQDN primaryPort [options]

[options] are as follows:

  • -udn (User DN for query authentication)

  • -pw (Password)

  • -sechost (Secondary hostname)

  • -secport (Secondary port)

  • -uid (User ID attribute name)

  • -urole (User role attribute name)

  • -cpwd (Change password URL)

  • -devid (Device ID attribute)

  • -filter (Search filter attribute)

Syntax to view:

enterpriseDirectory view

For example, enterpriseDirectoy cn=Users,dc=aes,dc=rnd,dc=avaya,dc=com lcs-dc1.aes.rnd.avaya.com 389

where:

The edit command will edit the enterprise directory.

The view command will display all the fields of enterprise directory.

Return codes:

Return code

Description

4

Could not change enterprise directory.

5

User DN for query authentication invalid

6

Base Search DN invalid

7

Primary/Secondary host should be in the form of FQDN.

8

Port value should be 389, 636, or within 1024 to 65535

9

User ID attribute name required except for TR/87 usage.

10

Password cannot contain backslash (\\)

11

Unable to locate Server Certificate.

12

Could not retrieve Enterprise directory Information.