About DS Tools
Add DS client command-line tools to your PATH:
$env:PATH += ";C:\path\to\opendj\bat"
For reference information, use the
--helpoption with any DS tool.
All commands call Java programs. This means every command starts a JVM, so it takes longer to start than a native binary.
Measure add and delete throughput and response time.
Measure bind throughput and response time.
Encode and decode data in base64 format.
Base64-encoding represents binary data in ASCII, and can be used to encode character strings in LDIF, for example.
Compare the attribute values you specify with those stored on entries in the directory.
Delete entries from the directory.
Modify the specified attribute values for the specified entries.
Modify user passwords.
Search a branch of directory data for entries that match the LDAP filter you specify.
Display differences between two LDIF files, with the resulting output having LDIF format.
Modify specified attribute values for specified entries in an LDIF file.
Search a branch of data in LDIF for entries matching the LDAP filter you specify.
Generate directory data in LDIF based on templates that define how the data should appear.
Also see makeldif-template.
Measure modification throughput and response time.
Measure search throughput and response time.
[a] UNIX names for the commands. Equivalent Windows commands have
When a client tool initiates a secure connection to a server, the server presents its digital certificate. The tool must determine whether it trusts the server certificate and continues to negotiate a secure connection, or does not trust the server certificate and drops the connection. To trust the server certificate, the tool's truststore must contain the trusted certificate. The trusted certificate is a CA certificate, or the self-signed server certificate. The following table explains how the tools locate the truststore.
|Truststore Option||Truststore Used|
The default truststore,
| || |
Only the specified truststore is used.
The tool fails with an error if the server certificate is not trusted.
You can set defaults in the
~/.opendj/tools.properties file as in the following example:
hostname=localhost port=1636 bindDN=uid=kvaughan,ou=People,dc=example,dc=com useSsl=true
The file location on Windows is
To override the settings, use the