Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

Accessing Configuration Entries for a Directory Server by Using Directory Proxy Server

The configuration entries for Directory Proxy Server are in cn=config. When you use Directory Proxy Server to access configuration entries, by default, you access the configuration entries of Directory Proxy Server.

To access the configuration entries of a directory server, it is better to connect directly to Directory Server, not to Directory Proxy Server. For information about how to configure Directory Server, see Chapter 4, Directory Server Configuration.


Caution – Caution –

If you reconfigure Directory Proxy Server to access the configuration entries of a directory server, you are likely to break the administration framework of Directory Proxy Server.


If you really need to access the configuration entries of a directory server through Directory Proxy Server, take special steps to ensure that you do not break the administration framework of Directory Proxy Server. This section describes how to access the configuration entries of a directory server by using Directory Proxy Server.

ProcedureTo Access the Configuration Entries of a Directory Server by Using Directory Proxy Server

  1. Create one or more data sources as described in Creating and Configuring LDAP Data Sources.

  2. Create an LDAP data source pool as described in Creating and Configuring LDAP Data Source Pools.

  3. Attach one or more data sources to the data source pool as described in Attaching LDAP Data Sources to a Data Source Pool.

    • To expose the configuration entries of one specific data source, attach only one LDAP data source to the LDAP data source pool.


      $ dpconf attach-ldap-data-source -h host -p port pool-name data-source-name
      

      After performing this step, a client can access the configuration entries of the data source that is connected to Directory Proxy Server.

    • To expose the configuration entries of any data source, attach more than one LDAP data source to the LDAP data source pool.


      $ dpconf attach-ldap-data-source -h host -p port pool-name data-source-name \
       data-source-name ...

      After performing this step, a client can access the configuration entries of one of the data sources connected to Directory Proxy Server. However, the client cannot know which data source the configuration entries belong to.

  4. Create an LDAP data view to expose cn=config.


    $ dpconf create-ldap-data-view -h host -p port view-name pool-name cn=config