General Commands

This section gives a list of the eDirectory commands on UNIX and their usage.

NOTE:  For more information on the usage of commands, see the command man pages.

Command Description Usage

ndsbackup

Creates eDirectory object archives and adds or extracts eDirectory objects

ndsbackup c [fevwXR]   [ndsbackupfile] [exclude_file] [Replica_servername] [-a admin_user] [-I include_file]...      [eDirectoryobject]
ndsbackup r [fevwXR]   [ndsbackupfile] [exclude_file] [Replica_servername] [-a admin_user] [-I include_file]...        [eDirectoryobject]
ndsbackup t [fevXR]   [ndsbackupfile] [exclude_file] [Replica_servername] [-a admin_user] [-I include_file]...        [eDirectoryobject]
ndsbackup x [fevwXR]   [ndsbackupfile] [exclude_file] [Replica_servername] [-a admin_user] [-I include_file]...       [eDirectoryobject]
ndsbackup s [evXR] [exclude_file]  [Replica_servername] [-a admin_user] [-I include_file]... [eDirectoryobject]

ndsconfig

Configures Novell eDirectory

ndsconfig new [-m module_name] [-i] [-S server_name] [-t tree_name] [-n context] [-d path_for_dib] [-L ldap_port] [-l ssl_port] [-o http_port] [-O https_port] [-e] -a admin_name
ndsconfig def [-m module_name] [-i] [-S server_name] [-t tree_name] [-n context] [-d path_for_dib] [-L ldap_port] [-l ssl_port] [-o http_port] [-O https_port] [-e] -a admin_name
ndsconfig add [-m module_name] [-S server_name] [-t tree_name] [-p IP_address] [-n context] [-d path_for_dib] [-L ldap_port] [-l ssl_port] [-o http_port] [-O https_port] [-e] -a admin_name
ndsconfig rm [-a admin_name]
ndsconfig upgrade [-a admin_name]
ndsconfig {set valuelist | get [paramlist] | get help [paramlist]}

ndsd

NDS® daemon

/usr/sbin/ndsd [-f config_file]

NOTE:  Before rebooting Solaris, ndsd needs to be stopped. Enter /etc/init.d/ndsd stop.

ndsimonitor

Monitors and diagnoses the servers in the Novell eDirectory tree using HTTP

/usr/bin/ndsimonitor [-l | -u]

ndslogin

Diagnostic utility to verify Novell eDirectory authentication

ndslogin [-t treename] [-h hostname[:port]]  [-p password] [-s] userFDN

ndsmerge

Utility to merge two Novell eDirectory trees

ndsmerge  [-m  target_tree target_admin source_admin [target_container]] [-c] [-t] [-r target_tree source_admin]

ndsrepair

Utility to repair and correct problems with the Novell eDirectory database, such as records, schema, bindery objects, and external references.

ndsrepair { -U | -E | -C | -P [-Ad] | -S [-Ad] | -N  | -T | -J entry_id | --version} [-F filename] [-A yes_no] [-O yes|no] 
ndsrepair -R [-l yes|no] [-u yes|no] [-m yes|no] [-i yes|no] [-f yes|no][-d yes|no] [-t yes|no] [-o yes|no][-r yes|no] [-v yes|no] [-c yes|no] [-F filename] [-A yes|no] [-O yes|no]

ndssch

Novell eDirectory schema extension utility

ndssch [-h hostname[:port]][-t treename] adminFDN schemafile ...
ndssch  [-h hostname[:port]][-t   treename] [-d] adminFDN schemafile [schema_description] ...

ndssnmp

SNMP services module for Novell eDirectory.

/usr/bin/ndssnmp

ndssnmpconfig

SNMP trap configuration utility

ndssnmpconfig -h [hostname[:port]] -p password -a userFDN -c command

ndssnmpsa

eDirectory SNMP subagent daemon

/usr/bin/ndssnmpsa

ndsstat

Utility that displays the server information

ndsstat [-h hostname[:port]] {-r -s}

ndstrace

Utility that displays the server debug messages

/usr/bin/ndstrace
ndstrace [-l|-u|-c 'command1;......']

nds-uninstall

Utility to uninstall Novell eDirectory

nds-uninstall [-c component1 [-c component2]...] [-h]

nldap

LDAP services for NDS daemon

/usr/sbin/nldap

nmasinst

NMASTM configuration utility

nmasinst -i admin.context treename
nmasinst -addmethod admin.context_treename config.txt_path

npki

Novell Public Key Infrastructure Services

/usr/sbin/npki