Illegal ds nameNetIQ eDirectory Server configuration failed when adding server into the tree

  • 7021024
  • 26-Jun-2017
  • 26-Jun-2017

Environment

SUSE Linux Enterprise Server
Open Enterprise Server
Redhat Enterprise Server

Situation

The following error message appears when adding the server into the tree using the command line:
ndsconfig new -a  'cn=admin,ou=services' -t TREENAME -n 'ou=eng,ou=rr,ou=com,o=services'

Configuring the NDAP interfaces...
The following are the IP addresses bound to this host.
Please indicate your choice for NCP/HTTP/HTTPS listeners at the prompt.
[1] 24.33.43.50
[2] 24.33.43.50
[3] All
Select IP address from 1 - 2.
To select more than one IP address, separate the selections with a comma(,): 1
Done
Configuring the HTTP interfaces... Done
Configuring the LDAP interfaces... Done

<TRUNCATED>

Starting the service 'ndsd'...
Done.

Checking if server is ready to service requests... Done
illegal ds nameNetIQ eDirectory Server configuration failed.
Please make certain that you have provided complete and correct server, admin contexts .
Stopping the service 'ndsd'...
Done.

ERROR: ndsconfig return value = 78.

Resolution

Run the command using the '.' notation instead of ',' notation for both admin and server contexts.

For example, any of the following formats should work:
ndsconfig new -a 'admin.services' -t TREENAME -n 'ou=eng.ou=rr.ou=com.o=services'
ndsconfig new -a 'cn=admin.o=services' -t TREENAME -n 'eng.rr.com.services'

Cause

Invalid FDN format, the admin and server contexts should be in the typed form.

Additional Information

Please refer to the following in documentation for more details on how to add a server into an existing tree:
https://www.netiq.com/documentation/edirectory-9/edir_install/data/a79kg0w.html#aglqowy