Command-Line Scripts Quick Reference - Red Hat DIRECTORY SERVER 7.1 Configuration

Configuration, command, and file reference
Hide thumbs Also See for DIRECTORY SERVER 7.1:
Table of Contents

Advertisement

Command-Line Scripts Quick Reference

NOTE
Command-Line Scripts Quick Reference
Commonly Used Command-Line Shell Scripts
Table 8-1
Command-Line
Script
bak2db
db2bak
db2ldif
db2dsml
db2index
dsml2db
getpwenc
ldif2db
ldif2ldap
256
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
In order to execute the Perl scripts, you must change to the directory
where the scripts are stored. Although it is possible to set
command-path and library-path variables to execute the scripts, it is
not recommended because you run the risk, particularly when you
have more than one server version installed, of disrupting the
correct execution of other utilities. There is also the risk of
compromising the security of the system.
(The same procedure also applies to the command-line utilities
discussed in chapter 7, "Command-Line Utilities.")
Description
Restores the database from the most recent archived
backup.
Creates a backup of the current database contents.
Exports the contents of the database to LDIF.
Exports the contents of the database to DSML.
Reindexes the database index files.
Imports DSML file to the database.
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.
Imports LDIF files to the database.
Runs the ns-slapd 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.
Performs an import operation over LDAP to the
Directory Server.
Location
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID

Advertisement

Table of Contents
loading

Table of Contents