Purpose
Specifies the LDAP directory that the Sun Java System Web Proxy Server uses.
Location
<install-root>/userdb
Syntax
directory name LDAP_URLname:property1 [value1] name:property2 [value2] ...
The default contents of this file are as follows:
directory default null:///none
Edit the file as follows for anonymous binding over SSL:
directory default ldaps://directory.sun.com:636:/dc%3Dcom
Edit the file as follows for anonymous binding not over SSL:
directory default ldap://directory.sun.com:389:/dc%3Dcom
The following table describes properties in the dbswitch.conf file.
Table 7–2 dbswitch.conf Properties
Property |
Allowed Values |
Default Value |
Description |
---|---|---|---|
A positive integer |
8 |
The number of LDAP connections for the database. |
|
off, on, recursive |
on |
Determines how dynamic groups are handled. If off, dynamic groups are not supported. If on, dynamic groups are supported. If recursive, dynamic groups can contain other groups. |
|
A valid DN |
The DN used for connecting to the database. If both binddn and bindpw are not present, binding is anonymous. |
||
The password used for connecting to the database. If both binddn and bindpw are not present, binding is anonymous. |
|||
A valid DN (relative to the LDAP URL) |
none |
If present, the default value of the base DN for the request’s virtual server is determined by a dc tree search of the connection group’s servername attribute, starting at the dcsuffix DN. If not present, the default value of the base DN is the base DN value in the LDAP URL. The basedn attribute of a USERDB element in the server.xml file overrides this value. |
|
off, on |
off |
Specifies whether the database can perform digest authentication. If set on, a special Directory Server plug-in is required. For information about how to install this plug-in, see the Sun Java System Web Proxy Server 4.0.13 Administration Guide. |
|
keyfile, digest, htaccess |
keyfile |
Specifies what type of file auth-db will be used |
|
Specifies the path to the key file. Required, if syntax is set to keyfile. |
|||
Specifies the path to the digest file. Required, if syntax is set to digestfile. |
|||
Path to the AuthGroupFile. If the group file is the same as the user file, this file contains both user and group data. Otherwise, it contains only group data. Required if syntax is set to htaccess. For more information about the syntax of the AuthGroupFile, see the Sun Java System Web Proxy Server 4.0.13 Administration Guide. |
|||
Path to the AuthUserFile. If the user file is the same as the group file, this file contains both user and group data. Otherwise it contains only user data. Required if syntax is set to htaccess. For more information about the syntax of the AuthUserFile, see the Sun Java System Web Proxy Server 4.0.13 Administration Guide. |