Shell And Batch Scripts - Netscape DIRECTORY SERVER 7.0 Configuration Manual

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

Advertisement

Shell and Batch Scripts

Table 8-2
Commonly Used Command-Line Perl Scripts (Continued)
Command-Line Perl Script
ldif2db.pl
logconv.pl
migrateInstance7
ns-accountstatus.p
l
ns-activate.pl
ns-inactivate.pl
ns-newpwpolicy.pl
template-cl-dump.p
l
template-repl-moni
tor.pl
Shell and Batch Scripts
This section covers the following scripts:
250
Netscape Directory Server Configuration, Command, and File Reference • October 2004
Description
Imports LDIF files to database.
Runs the slapd (Windows) 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.
Analyzes the access logs of a Directory Server to
extract usage statistics and count the occurrences of
significant events.
Migrates a 6.x version of Directory Server to the 7.x
version.
Provides account status information to establish
whether an entry or group of entries is locked or
not.
Activates an entry or a group of entries by
unlocking it (them).
Inactivates an entry or a group of entries.
Adds relevant entries required for the fine-grained
(user- and subtree-level) password policy.
Dumps and decodes the change log.
Provides in-progress status of replication.
bak2db (Restore database from backup)
db2bak (Create backup of database)
db2ldif (Export database contents to LDIF)
db2dsml (Export database contents to DSML)
db2index (Reindex database index files)
dsml2db (Import DSML document contents into database)
Location
serverRoot/slapd-serverID
serverRoot/bin/slapd/
server
serverRoot/bin/slapd/a
dmin/bin
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/bin/slapd/
admin/scripts
serverRoot/bin/slapd/
admin/scripts

Advertisement

Table of Contents
loading

Table of Contents