Overview#Ndsconfig command is used for EDirectory Configuration ndsconfig Parameters we know about.
Shortcut Parameters#Some shortcut parameters are also available.
|-S||n4u.nds.server-name||Specifies the server name. This should normally be the same value returned from "hostname" command.|
|-t||n4u.base.tree-name||The NDS Tree-name to which the server has to be added. (maximum of 32 characters) The default NDS Tree-name is $LOGNAME-$HOSTNAME-NDStree|
|--config-file||n4u.server.configdir||Specify the absolute path and file name to store the nds.conf configuration file. For example: --config-file /etc/opt/novell/eDirectory/nds.conf.|
|-n||n4u.nds.server-context||Specifies the context of the server in which the server object is added (maximum of 64 characters).|
|-B||n4u.server.interfaces||Specifies the port number along with the IP address or interface. For example: -B eth0@524 or -B 22.214.171.124@524 TCP and UDP NOTE:-b and -B are exclusively used.|
|-b||n4u.server.tcp-port||Sets the default port number on which a particular instance should listen on. This sets the default port number on n4u.server.tcp-port and n4u.server.udp-port For example: -b 524 NOTE:-b and -B are exclusively used.|
|-d||n4u.nds.dibdir||The directory path where the database files will be stored|
|-o||http.server.clear-port||Specifies the HTTP clear port number for the DHOST process.|
|-O||http.server.tls-port||Specifies the HTTP secure port number for the DHOST process.|
|-L||Ldapconfig||Specifies the TCP port number on the LDAP server. If the default port 389 is already in use, it prompts for a new port.|
|-l||Ldapconfig||Specifies the SSL port number on the LDAP server. If the default port 636 is already in use, it prompts for a new port.|
|new||Ndsconfig||Creates a new eDirectory tree NDS Tree-name|
|add||Ndsconfig||Adds a server into an existing tree. Also adds LDAP and SAS services|
|rm||Ndsconfig||Removes the Server object and directory services from a tree. NOTE:This option does not remove the key material objects. These objects must be removed manually.|
|upgrade||Ndsconfig||Upgrades eDirectory to a later version.|
|-c||Ndsconfig||This option avoids prompts during ndsconfig operation, such as yes/no to continue the operation, or prompt to re-enter port numbers when there is a conflict, etc. The user receives prompts only for entering mandatory parameters if they are not passed on command line.|
|-w||Ndsconfig||This option allows passing the admin user password in clear text so you would not be prompted.|
|-a||Ndsconfig||Specifies the fully distinguished name in DOT format of the User object with Supervisor rights to the context in which the server object and Directory services are to be created. It can have a maximum of 64 characters.|
|-i||Ndsconfig||While configuring a new tree, ignores checking whether a tree of the same name exists. Multiple trees of the same name can exist.|
|-D||Ndsconfig||Creates the data, dib, and log directories in the path mentioned.|
|-R||Ndsconfig||By default a replica of the partition to which the server is added would be replicated to the local server. This option disallows adding replicas to the local server.|
|-p||Ndsconfig||This option is used for secondary server addition (add command) to a tree. It specifies the IP address of the remote host that holds a replica of the partition to which this server is being added. The default port number is 524. This helps in faster lookup of the tree since it avoids SLP lookup.|
|-E||Ndsconfig||Enables encrypted replication for the server you are trying to add.|
|-j||Ndsconfig||Skips or overrides the health check option before installing eDirectory.|
|--configure-eba-now||Ndsconfig||(YES/NO) Use the switch value to configure your eDirectory server for enhanced background authentication.|
Distinguished Names with Utilities#These utilities do NOT use LDAP syntax for the FDN. Novell uses a DOT notation for FDN with these utilities. Any parameter value that has a FDN must be put in he server name can also contain dots (for example, novell.com). Because ndsconfig is a command line utility, using containers with dotted names requires that those dots be escaped out, and the parameters containing these contexts must be enclosed in double quotes.
For example, to install a new eDirectory tree on a server using “novell.com” as the name of the O, use the following command:
ndsconfig new -a "admin.novell\\.com" -t novell_tree -n "OU=servers.O=novell\\.com"