To Create a Directory Proxy Server Instance
From the Command Line

In this procedure, you create a server instance on
the local host using the dpadm command. You then configure
the instance using the dpconf command.

Non-root users can create server instances.

A Directory Proxy Server instance must be configured to proxy directory
client application requests to data sources through data views. When you start or stop an instance, you start or stop
the server process that proxies directory client application requests.

The dpadm command enables you to manage a Directory Proxy Server instance
and the files belonging to that instance on the local host. The command does
not allow you to administer servers over the network, but only directly on
the local host. The dpadm command has subcommands for each
key management task. For a complete description, see dpadm(1M).

The dpconf command is an LDAP client. The command
enables you to configure nearly all server settings on a running Directory Proxy Server instance
from the command line. You can configure settings whether the server is on
the local host or another host that is accessible across the network. The dpconf command has subcommands for each key configuration task.
For a complete description, see dpconf(1M).

Before You Begin

For example, the following command creates an instance, dps,
under the existing directory, /local/.
The default ports are 389 for LDAP, 636 for LDAPS for root users,
and 1389 for LDAP, 1636 for LDAPS for non-root users.

Notice that LDAP search operations work for the suffix handled
by your data view, but do not work for other suffixes. If you search a suffix
for which no data view is configured, the server returns an error.