Overview#Ndsconfig command is used for EDirectory Configuration ndsconfig Parameters we know about.
Shortcut Parameters#Some shortcut parameters are also available.
|-S server name||Specifies the server name. This should normally be the same value returned from "hostname" command.|
|-t treename||The NDS Tree-name to which the server has to be added. It can have a maximum of 32 characters. The default NDS Tree-name is $LOGNAME-$HOSTNAME-NDStree.|
|-n server context||Specifies the context of the server in which the server object is added. It can have a maximum of 64 characters.|
|-L ldap_port||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 ssl_port||Specifies the SSL port number on the LDAP server. If the default port 636 is already in use, it prompts for a new port.|
|-a admin FDN||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.|
|-o||Specifies the HTTP clear port number for the DHOST process.|
|-O||Specifies the HTTP secure port number for the DHOST process.|
|-c||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 <admin password>||This option allows passing the admin user password in clear text so you would not be prompted.|
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"