Commonly Used Command-Line Shell and Batch Scripts (Continued)
Table 8-1
Command Line Script
getpwenc
ldif2db
ldif2ldap
monitor
restart-slapd
restoreconfig
saveconfig
start-slapd
stop-slapd
suffix2instance
vlvindex
Description
Prints the encrypted form of a password using one of the server's encryption
algorithms. If a user cannot log in, you can use this script to compare the user's
password to the password stored in the directory.
Located in: /usr/netscape/servers/slapd-serverID
Imports LDIF files to the database.
Runs the slapd (Windows NT) or ns-slapd (Unix) command-line utility with
the ldif2db keyword. By default, the script first saves and then merges any
existing configuration tree (o=NetscapeRoot) with any files to be imported.
Located in: /usr/netscape/servers/slapd-serverID
Performs an import operation over LDAP to the Directory Server.
Located in: /usr/netscape/servers/slapd-serverID
Retrieves performance monitoring information using the ldapsearch
command-line utility.
Located in: /usr/netscape/servers/slapd-serverID
Restarts Directory Server.
Located in: /usr/netscape/servers/slapd-serverID
Restores by default the most recently saved Administration Server configuration
to NetscapeRoot partition.
Located in: /usr/netscape/servers/slapd-serverID
Saves Administration Server configuration, stored in the NetscapeRoot
partition to /usr/netscape/servers/slapd-serverID/confbak directory.
Located in: /usr/netscape/servers/slapd-serverID
Starts Directory Server.
Located in: /usr/netscape/servers/slapd-serverID
Stops Directory Server.
Located in: /usr/netscape/servers/slapd-serverID
Maps a suffix to a backend name.
Located in: /usr/netscape/servers/slapd-serverID
Creates and generates virtual list view (VLV) indexes.
Located in: /usr/netscape/servers/slapd-serverID
Command-Line Scripts Quick Reference
Chapter 8
Command-Line Scripts
221
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 and is the answer not in the manual?