NAME | SYNOPSIS | DESCRIPTION | SUBCOMMANDS | GLOBAL OPTIONS | SUBCOMMAND OPTIONS | SUBCOMMAND OPERANDS | EXIT STATUS | EXAMPLES | ATTRIBUTES | SEE ALSO
The dpadm command is the administration command for the Directory Proxy Server. Use the dpadm command with one of the subcommands described in this man page.
The following subcommands are supported:
Adds a certificate to the certificate database.
Creates a self-signed certificate and adds it to the certificate database.
Enables or disables Directory Proxy Server instance startup at system boot. This command is only available if you installed with Sun Java Enterprise System or native packages, and is not available on Windows.
Creates a backup archive of the Directory Proxy Server instance.
Creates a Directory Proxy Server Instance.
Deletes an instance of Directory Proxy Server.
Disables Windows service management of a Directory Proxy Server.
Enables a Directory Proxy Server instance to be managed as a service. This command is only available if you installed with Sun Java Enterprise System or native packages, and is only available on Windows and Solaris.
Displays the flag values for the Directory Proxy Server instance.
Imports the public and private keys of a certificate in the certificate database.
Displays information about the status and configuration of the Directory Proxy Server instance.
Lists all certificates in the certificate database.
Removes a certificate from the certificate database.
Renews a certificate in the certificate database.
Generates a certificate request.
Restarts a Directory Proxy Server instance.
Restores a Directory Proxy Server instance from a backup archive.
Sets flag values for a Directory Proxy Server instance.
Displays a certificate.
If no CERT_ALIAS is specified, the default server certificate is displayed.
Splits the LDIF file given by LDIF_FILE into multiple LDIF files according to the data distribution configured in Directory Proxy Server. One LDIF file is created for each data view defined in the LDIF_FILE file.
The LDIF files are stored in the OUTPUT_FILE_DIR directory and are automatically named after the data view, with the following format: OUTPUT_FILE_DIR.DATA_VIEW_NAME.ldif
The dpadm split-ldif command can be launched even if the Directory Proxy Server is running.
Starts a Directory Proxy Server instance.
Stops a Directory Proxy Server instance.
The following options are global, and are applicable to all commands and subcommands.
Displays instructions for accessing help.
Displays instructions for accessing verbose help.
The following options are applicable to the subcommands where they are specified.
Lists Certificate Authority certificates only. The default is to list server certificates only.
Adds L=CITY to the subject DN. Default is none.
Adds C=COUNTRY to the subject DN. The default is none.
Defines the Proxy Manager DN. The default is cn=Proxy Manager.
Specifies the output format. The options are readable and ascii. The default is readable.
Specifies the group name for the owner of the server instance. The default is the name of the current group.
Does not prompt for confirmation before performing the operation.
Specifies the certificate password. The default is to prompt for a password.
Specifies the key-pair generation algorithm (DSA or RSA).
Specifies the signature algorithm used to sign the certificate. The signature algorithm depends on the underlying key-pair generation algorithm. The default signature algorith is SHA1withDSA when the key algorithm is DSA, and MD5withRSA when the key algorithm is RSA.
Adds CN=NAME to the subject DN. The default is the hostname.
Reads the output password from the OUTPUT_FILE file. The default is a prompt for a password.
Stores the command results in the OUTPUT_FILE file. The default is stdout.
Disables the autostart of an instance of Directory Proxy Server at system boot
Adds O=ORG to the subject DN. The default is none.
Adds O=ORG-UNIT to the subject DN. The default is none.
Specifies the port for LDAP traffic. The default is 389 or 1389.
Specifies the secure SSL port for LDAP traffic. The default is 636 or 1636.
Specifies the subject DN. The default is cn=CERT_ALIAS cn=hostname.
Adds ST=STATE to the subject DN. Default is the hostname.
Service type. Can be SMF when using Solaris 10, or WIN_SERVICE when using Windows.
Specifies the user name for the owner of the server instance. The default is the name of the current user.
Reads the certificate database password from the CERT_PW_FILE file. The default is a prompt for password.
Reads the password from the PW_FILE file. The default is a prompt for password.
The following operands are supported:
Specifies the path to the backup of the Directory Proxy Server instance.
Specifies the certificate alias.
Specifies the file that contains the certificate.
Specifies a flag that represents a property operand when using the command dpadm get-flags. Possible flags: cert-pwd-prompt, jvm-args.
Specifies a flag and its value. The FLAG=VALUE operand can have the following values:
Sets the certificate database password storage mode to on. The certificate database password is stored on the file system. This is the default value.
Sets the certificate database password storage mode to off. The certificate database password is not stored on the file system. You are prompted to supply the certificate database password when needed.
These values are arguments passed to the Java Virtual Machine (JVM).
The default value is jvm-args=-Xmx250M -Xms250M. If a 64-bit JVM is used, the default value is jvm-args=-Xmx250M -Xms250M -d64.
-Xmxmemory is the maximum memory size for the JVM. The default value is -Xmx250M (250 MB).
-Xmsmemory is the startup memory size for the JVM. The default value is -Xms250M (250 MB). The startup memory size -Xmsmemory should be the same as the maximum memory size -Xmxmemory.
-XX:NewRatio=ratio is applicable to the Sun Hotspot JVM only, and is the ratio between old and young generation memory. The recommended value is -XX:NewRatio=1, which is equal old and young generation memory.
-d64 specifies that a 64–bit JVM is used.
You can use the jvm-args flag to pass a list of arguments to the JVM. For information about JVM arguments not described in this man page, see the java(1) man page.
Specifies the path to the Directory Proxy Server instance.
Specifies the LDIF file that is to be split by using the split_ldif subcommand.
Specifies the directory where LDIF files are placed after being split by the split_ldif subcommand.
The following examples show how the dpadm command is used.
The following example shows how to create a Directory Proxy Server instance.
$ dpadm create /local/dps |
The following example shows how to start a Directory Proxy Server instance.
$ dpadm start /local/dps |
The following example shows how to get information about a Directory Proxy Server instance.
$ dpadm info /local/dps |
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWldap-proxy |
Stability Level | Evolving |
NAME | SYNOPSIS | DESCRIPTION | SUBCOMMANDS | GLOBAL OPTIONS | SUBCOMMAND OPTIONS | SUBCOMMAND OPERANDS | EXIT STATUS | EXAMPLES | ATTRIBUTES | SEE ALSO