12.1 Configuration Utilities

12.1.1 The ndsconfig Utility

You can use the ndsconfig utility to configure OpenText eDirectory. This utility can also be used to add the OpenText eDirectory Replica Server into an existing tree or to create a new tree. For more information, see Using the ndsconfig Utility to Add or Remove the OpenTexte Directory Replica Server.

NOTE:

  • Ensure that the NCP server name is unique in the network.

To change the current configuration of the installed components, use the following syntax:

ndsconfig {set value_list | get [parameter_list] | get help [parameter_list]}

Refer to Configuration Parameters for a description of ndsconfig parameters.

IMPORTANT:After installation, ensure that you run the ndsconfig utility from the installed location on the server, which is /opt/novell/eDirectory/bin by default. Do not run ndsconfig from the installation package.

12.1.2 Using LDAP Tools to Configure the LDAP Server and LDAP Group Objects

You can use the LDAP tools included with OpenText eDirectory on Linux computers to modify, view, and refresh the attributes of LDAP Server and Group objects.

For more information, see Using LDAP Tools on Linux in the OpenTextâ„¢ eDirectory CE 24.4 (v9.3) Administration Guide.

12.1.3 Using the nmasinst Utility to Configure NetIQ Modular Authentication Service

For OpenText eDirectory 9.3, by default, ndsconfig configures NMAS. You can also use nmasinst to configure NMAS.

ndsconfig only configures NMAS and does not install the login methods. To install these login methods, you can use nmasinst. For more information, see Using the nmasinst Utility to Configure NMAS.

12.1.4 Customizing OpenText eDirectory

Using the ndsd init Script

The ndsd init script starts the daemon when the system starts with the configuration parameters from the default configuration file, /etc/opt/novell/eDirectory/conf/nds.conf.

NOTE:You should not use the /etc/init.d/ndsd script in the systemd environment . Systemd is currently supported with SLES 15 and RHEL 8 and RHEL 9 and above platforms only. For more information, see Using OpenText eDirectory on SLES 15 and RHEL 8 Platforms.

Before starting ndsd, ensure that any SLP (Service Location Protocol) agent is running on the host. You can install OpenSLP, any native SLP available with your operating system, or NetIQ SLP.

NOTE:To start OpenText eDirectory, use the ndsmanage utility.

NOTE:Run the following commands to start and stop OpenText eDirectory in SLES 15 and RHEL8 or later.

  • To start ndsd, run systemctl start ndsd*

  • To stop ndsd, run systemctl stop ndsd*

The OpenText eDirectory configuration creates the following shell scripts in the /opt/novell/eDirectory/sbin location:

  • pre_ndsd_start

  • post_ndsd_start

  • pre_ndsd_stop

  • post_ndsd_stop

As the name indicates, the pre_ndsd_start script is executed before the ndsd binary is started by the /etc/init.d/ndsd script. The post_ndsd_start script is executed after the ndsd binary is started by the /etc/init.d/ndsd script. Similarly, the pre_ndsd_stop and post_ndsd_stop scripts are executed before and after stopping the ndsd process, respectively.

You can add commands of your choice to these scripts to get them executed. By default, the post_ndsd_start script has commands to ensure that /etc/init.d/ndsd comes out after ensuring that the LDAP services are up and running.

NOTE:You must add all the environment variables required for the OpenText eDirectory service in the env_custom script which is located in the /etc/opt/novell/eDirectory/conf directory. Exporting of environment variables on terminals or /etc/init.d/ndsd script is not used by OpenText eDirectory. For more information about the environment variables, see TID 7018431.

Using OpenText eDirectory on SLES 15 and RHEL 8 Platforms

OpenText eDirectory starts the daemon when the system starts with the configuration parameters from the default configuration file, /etc/opt/novell/eDirectory/conf/nds.conf.

Before starting ndsd, ensure that any SLP (Service Location Protocol) agent is running on the host. You can install OpenSLP, any native SLP available with your operating system, or OpenText SLP.

To start or stop OpenText eDirectory, use the ndsmanage utility.

The OpenText eDirectory configuration creates the following shell scripts in the /opt/novell/eDirectory/sbin location:

  • pre_ndsd_start_custom: Use this script for custom addition of commands before executing eDirectory.

  • post_ndsd_start_custom: Use this script for custom addition of commands after executing eDirectory.

  • post_ndsd_stop_custom: Use this script for custom addition of commands after stopping eDirectory.

NOTE:

  • Do not use any of the factory scripts from the /opt/novell/eDirectory/sbin / location. The OpenText eDirectory configuration will use the factory scripts. To include additional commands of your choice, use custom scripts.

  • After upgrading the operating system, run the ndsconfig upgrade utility.