Installation guide
Installing or Upgrading NetIQ eDirectory on Linux 35
export MANPATH=custom_location/eDirectory/opt/novell/man:custom_location/
eDirectory/opt/novell/eDirectory/man:$MANPATH
export TEXTDOMAINDIR=custom_location/eDirectory/opt/novell/eDirectory/
share/locale:$TEXTDOMAINDIR
Use the ndspath script to export the environment variables by performing the following
steps:
If you do not want to export the paths manually, prefix the ndspath script to the utility.
Run the utility you want as follows:
custom_location/eDirectory/opt/novell/eDirectory/bin/ndspath
utility_name_with_parameters
Export the paths in the current shell as follows:
. custom_location/eDirectory/opt/novell/eDirectory/bin/ndspath
NOTE: Ensure that you enter the above commands from the
custom_location/
eDirectory/opt
directory.
After entering the above commands, run the utilities as you would normally do.
Call the script in your profile,
bashrc
, or similar scripts. Therefore, whenever you log
in or open a new shell, you can start using the utilities directly.
4 Configure eDirectory in the usual manner.
You can configure eDirectory in any of the following ways:
Use the ndsconfig utility as follows:
ndsconfig new [-t <treename>] [-n <server_context>] [-a <admin_FDN>] [-w
<admin password>] [-i] [-S <server_name>] [-d <path_for_dib>] [-m <module>]
[e] [-L <ldap_port>] [-l <SSL_port>] [-o <http_port>] -O <https_port>] [-p
<IP address:[port]>] [-c] [-b <port_to_bind>] [-B <interface1@port1>,
<interface2@port2>,..] [-D <custom_location>] [--config-file
<configuration_file>]
For example:
ndsconfig new -t mary-tree -n novell -a admin.novell -S linux1 -d /home/
mary/inst1/data -b 1025 -L 1026 -l 1027 -o 1028 -O 1029 -D /home/mary/
inst1/var --config-file /home/mary/inst1/nds.conf
The port numbers you enter need to be in the range 1024 to 65535. Port numbers lesser than
1024 are normally reserved for the super-user and standard applications. Therefore, you
cannot assume the default port 524 for any eDirectory applications.
This might cause the following applications to break:
The applications that don't have an option to specify the target server port.
The older applications that use NCP, and run as root for 524.
Use the ndsmanage utility to configure a new instance. For more information, refer to the
“Creating an Instance through ndsmanage” on page 44.
Follow the on-screen instructions to complete the configuration.
For more information, see Section 2.6.4, “Using the ndsconfig Utility to Add or Remove the
eDirectory Replica Server,” on page 36.
NOTE: After you install eDirectory, we recommend you exclude the DIB directory on your
eDirectory server from any antivirus or backup software processes. Use the eDirectory Backup Tool
to back up your DIB directory.