Installation guide
Installing or Upgrading NetIQ eDirectory on Linux 37
ndsconfig new -t corp-tree -n o=company -a cn=admin.o=company
Adding a Server into an Existing Tree
Use the following syntax:
ndsconfig add [-t <treename>] [-n <server context>] [-a <admin FDN>] [-w <admin
password>] [-e] [-P <LDAP URL(s)>][-L <ldap port>] [-l <SSL port>] [-o <http port>]
[-O <https port>] [-S <server name>] [-d <path for dib>] [-m <module>] [-p <IP
address:[port]>] [-R] [-c] [-b <port to bind>] [-B <interface1@port1>,
<interface2@port2>,..] [-D <custom_location>] [--config-file <configuration_file>]
[-E]
A server is added to an existing tree in the specified context. If the context that the user wants to add
the Server object to does not exist, ndsconfig creates the context and adds the server.
LDAP and security services can also be added after eDirectory has been installed into the existing
tree.
For example, to add a server into an existing tree, you could enter the following command:
ndsconfig add -t corp-tree -n o=company -a cn=admin.o=company -S srv1
You can enable encrypted replication in the server you want to add using the
-E
option. For more
information on encrypted replication, see “Encrypted Replication” in the NetIQ eDirectory 8.8 SP8
Administration Guide.
Removing a Server Object And Directory Services From a Tree
Use the following syntax:
ndsconfig rm [-a <admin FDN>] [-w <admin password>] [-p <IP address:[port]>] [-c]
eDirectory and its database are removed from the server.
NOTE: The HTML files created using iMonitor will not be removed. You must manually remove
these files from
/var/opt/novell/eDirectory/data/dsreports
before removing eDirectory.
For example, to remove the eDirectory Server object and directory services from a tree, you could
enter the following command:
ndsconfig rm -a cn=admin.o=company
ndsconfig Utility Parameters
ndsconfig
Parameter
Description
new
Creates a new eDirectory tree. If the parameters are not specified in the command line,
ndsconfig prompts you to enter values for each of the missing parameters.
def
Creates a new eDirectory tree. If the parameters are not specified in the command line,
ndsconfig takes the default value for each of the missing parameters.
add
Adds a server into an existing tree. Also adds LDAP and SAS services, after eDirectory
has been configured in the existing tree.