The Directory Proxy Server also supports properties for specific tool options using the format: tool.option=value. Tool-specific options have precedence over general options. For example, the following properties file uses ldapsearch.port=2389 for ldapsearch requests by the client. All other tools that use the properties file uses port=1389.
hostname=server1.example.com 
port=1389 
ldapsearch.port=2389 
bindDN=cn=Directory\ Manager
Another example using the dsconfig configuration tool is as follows:
hostname=server1.example.com
port=1389
bindDN=cn=Directory\ Manager
dsconfig.bindPasswordFile=/ds/config/password 
Note: The .bindPasswordFile property requires an absolute path. If you were to specify ~/ds/config/password, where ~ refers to the home directory, the server does not expand the ~ value when read from the properties file.