|Sun Java(TM) System Directory Proxy Server 5.2 2005Q1 Administration Guide|
This appendix describes helpful command line programs associated with Directory Proxy Server.
The appendix has the following section:
The dpsconfig2ldif utility downloads Directory Proxy Server configuration and saves it in an LDIF file. The dpsconfig2ldif utility is found at the following location:
The dpsconfig2ldif utility requires two arguments:
Filename is the path to the startup configuration file. This will usually be the tailor.txt file in the etc directory.
The name of the file in which to output the configuration.
The ImportConfigLdif utility imports an LDIF file generated by dpsconfig2ldif.The dpsconfig2ldif utility is found at the following location:
The dpsconfig2ldif utility requires the following arguments:
name of LDIF file containing Directory Proxy Server objects options:
name of configuration to create ('imported-configuration' if unspecified)
directory host name (localhost if unspecified)
directory port number (389 if unspecified)
directory user dn (anonymous bind if unspecified)
directory user password (anonymous bind if unspecified)
ImportConfigLdif imports three kinds of objects:
The parameter "Configuration Name" applies only to Shared Configuration objects just described. System and Log properties are added "as is" from the LDIF file. If a shared configuration object does not exist with the given parameter name, this script will create a new configuration using the given parameter name. If there ALREADY exists a configuration with the given name, no import will take place. System and Log properties will not be added either if they already exist in the directory.
Once a configuration has been imported, the Main Console must be restarted in order to view the configuration in the Topology Tree. In order to begin using a configuration, a Directory Proxy Server instance server will have to assign itself to each configuration: shared Configurations are assigned via the Network Groups Node in the Directory Proxy Server Console; System Properties are assigned via the systems node in the Directory Proxy Server Console ("settings saved as..."); and Log Properties are assigned via the Logs node in the Directory Proxy Server Console ("settings saved as...").