B.1 一般ユーティリティ

このセクションでは、LinuxでのeDirectoryユーティリティとその使用法についての一覧を提供しています。

メモ:インストール後に、ユーティリティのndsconfig、ndscheck、およびndsloginをサーバのインストール場所(この場所は、デフォルトでは/opt/novell/eDirectory/binです)から実行してください。インストールパッケージからndsconfigを実行しないでください。

eDirectoryユーティリティの使用法に関する詳細については、各ユーティリティのマニュアルページおよびセクション I.12, Linuxでのユーティリティのトラブルシューティングを参照してください。

コマンド

説明

使用法

nds-install

NetIQ eDirectoryをインストールするユーティリティです。

nds-install [-h] [--help] [-i] [-j] [-u]

ndsconfig

NetIQ eDirectoryを設定します

ndsconfig new [-m <modulename>] [-i] [-S <server name>] [-t <tree_name>] [-n <server context>] [-d <path_for_dib>][-P <LDAP URL(s)>] [-L <ldap_port>] [-l <ssl_port>] [-o <http port>] [-O <https port>] [-p <IP address:[port]>] [-c] [-w <admin password>] [-W <obfuscated_password_file>] [-e] [-a <admin FDN>] [-b <port to bind>] [-B <interface1@port1>, <interface2@port2>,..] [-D <custom_location>] [--config-file <configuration file>]
ndsconfig def [-m <modulename>] [-i] [-S <server name>] [-t <tree_name>] [-n <server context>] [-d <path_for_dib>][-P <LDAP URL(s)>] [-L <ldap_port>] [-l <ssl_port>] [-o <http port>] [-O <https port>] [-e] [-a <admin FDN>] [-w <admin password>] [-W <obfuscated_password_file>] [-c] [-D <custom_location>] [--config-file <configuration file>]
ndsconfig add [-m <modulename>] [-S <server name>] [-t <tree_name>] [-p <IP_address:port>] [-n <server context>] [-d <path for dib>][-P <LDAP URL(s)>] [-L <ldap_port>] [-l <ssl_port>] [-o <http port>] [-O <https port>] [-e] [-a <admin FDN>] [-w <admin password>] [-W <obfuscated_password_file>] [-p <IP address:[port]>] [-R] [-c] [-b <port to bind>] [-B <interface1@port1, interface2@port2,..>] [-D <custom_location>] [-E] [--config-file <configuration file>]
ndsconfig rm [-a <admin FDN>] [-w <admin password>] [-W <obfuscated_password_file>] [-c] [--config-file <configuration file>]
ndsconfig upgrade [-a <admin FDN>] [-w <admin password>] [-W <obfuscated_password_file>] [-c]  [-j] [--config-file <configuration file>]
ndsconfig {set <valuelist> | get [<paramlist>] | get help [<paramlist>]}

ndscheck

ツリーの状態をチェックするユーティリティです。

ndscheck [--help | -?] Display command usage ndscheck [--version | -v] Display version information ndscheck [-h <hostname port>] [-a <admin FDN>] [-F <log file>] [-D] [-q] [-w <admin password>] [-W] [--config-file <file name>]
ndscheck [-a <admin FDN>] [-W] [--config-file <file name>]

次に例を示します。

ndscheck -a admin.novell -W --config-file /etc/opt/novell/eDirectory/conf-1/nds.conf

ndsmanage

eDirectoryのインスタンスを表示するユーティリティ

ndsmanage [-a] 
ndsmanage [<username>] 

ndsbackup

eDirectoryオブジェクトのアーカイブを作成し、eDirectoryオブジェクトを追加または抽出します

ndsbackup c [f <ndsbackupfile>] [e] [v] [w] [X<exclude-file>] [R] [Replica-server-name] [-a <admin-user>] [-I <include-file>] [-E <password>] [--config-file <configuration_file_path>]... [eDirectoryobject]  
ndsbackup r [f <ndsbackupfile>] [e] [v] [w] [X<exclude-file>] [R] [Replica-server-name] [-a <admin-user>] [-I <include-file>] [-E <password>] [--config-file <configuration_file_path>]... [eDirectoryobject] 
ndsbackup t  [f <ndsbackupfile>] [e] [v] [w] [X<exclude-file>] [R] [Replica-server-name] [-a <admin-user>] [-I <include-file>] [-E <password>] [--config-file <configuration_file_path>]... [eDirectoryobject]
ndsbackup x [f <ndsbackupfile>] [e] [v] [w] [X<exclude-file>] [R] [Replica-server-name] [-a <admin-user>] [-I <include-file>] [-E <password>] [--config-file <configuration_file_path>]... [eDirectoryobject]

ndsbackup s [e] [v] [w] [X<exclude-file>] [R] [Replica-server-name] [-a <admin-user>] [-I <include-file>] [-E <password>] [--config-file <configuration_file_path>]... [eDirectoryobject]
ndsbackup --version
ndsbackup [option] [file] [-a <admin FDN>] [-p passstore] [--config-file <file name>]

次に例を示します。

ndsbackup cvf /tmp/test.bak -a admin.novell -p passstore --config-file
/etc/opt/novell/eDirectory/conf-1/nds.conf

ndslogin

NetIQ eDirectoryの認証を検証するための診断ユーティリティです

ndslogin [-t <treename>] [-h <hostname[:port]>] [-p <password>] [-s] <userFDN> [--config-file <configuration_file_path>] 

ndsd

NDSデーモン

/opt/novell/eDirectory/sbin/ndsd [--config-file configfile]

ndsimonitor

HTTPを使用して、NetIQ eDirectoryツリーにあるサーバを監視および診断します

/opt/novell/eDirectory/bin/ndsimonitor [-l [-d <path of ndsimonitor conf files>] | u] [-h <local_interface:port>] [--config-file <configuration_file_path>]

ndsmerge

2つのNetIQ eDirectoryツリーをマージするユーティリティ

ndsmerge [-m target-tree target-admin source-admin [target-container]] [-c] [-t] [-r target-tree source-admin] [-h <local_interface:port>] [--config-file <configuration_file_path>]

ndsrepair

レコード、スキーマ、バインダリオブジェクト、および外部参照など、eDirectoryデータベースの問題を修復および修正するためのユーティリティです。

使用するために解放できる、データベース内の空き領域に関する情報を表示するように、ndsrepairに指示できます。

ndsrepair {-U |-E |-C |-P [Ad] |-S [Ad]|-N |-T |-J <entry_id>} [-A <yes/no>] [-O <yes/no>][-F <filename>] [-h <local_interface:port>] [--config-file <configuration_file_path>]
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>][-A <yes/no>][-O  <yes/no>][-F <filename>] [-h <local_interface>] [--config-file <configuration_file_path>]

ndsrepair –I [--config-file <configuration_file_path>]

ndssch

NetIQ eDirectoryスキーマ拡張ユーティリティ

ndssch [-h <hostname>[:<port>]][-t <treename>][-F <logfile>]  <admin-FDN> <schemafile> ...
ndssch [-h <hostname>[:<port>]][-t <treename>] [-d] <admin-FDN> <schemafile> [schema description] ...

ndssnmp

NetIQ eDirectoryのSNMPサービスモジュール。

/opt/novell/eDirectory/bin/ndssnmp

ndssnmpconfig

SNMPトラップ環境設定ユーティリティです

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

ndssnmpsa

eDirectory SNMPサブエージェントデーモンです

/opt/novell/eDirectory/bin/ndssnmpsa

ndsstat

サーバ情報を表示するユーティリティです

ndsstat { -r -s -p <partitionname>} [-n] [[-h <hostname | IP address>:<port>] | [--config-file <configuration file>]]

ndstrace

サーバのデバッグメッセージを表示するユーティリティです

ndstrace [-l|-u|-c "command1;......"|--version] [-h <local_interface:port>] [--config-file <configuration_file_path>]

nds-uninstall

NetIQ eDirectoryをアンインストールするユーティリティ

nds-uninstall [-s][-h]

nldap

NDSデーモンのLDAPサービス

/opt/novell/eDirectory/sbin/nldap

nmasinst

NMAS環境設定ユーティリティ

nmasinst -i <admin-FDN> <treename> [-h <hostname>[:port]]
nmasinst -addmethod <admin-FDN> <treename> <config.txt file> [-h <hostname>[:port]]

npki

Novell公開鍵インフラストラクチャサービス

/opt/novell/eDirectory/sbin/npki