Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

ProcedureTo Manually Configure the excluded-subtrees and alternate-search-base-dn Properties

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Configure Directory Proxy Server to manually route requests.


    $ dpconf set-server-prop -h host -p port data-view-automatic-routing-mode:manual

    When data-view-automatic-routing-mode is manual, Directory Proxy Server does not generate the excluded-subtrees and alternate-search-base-dn properties. You must set the values of these properties manually. The values that you set here are not checked by Directory Proxy Server. Be aware that setting these values incorrectly can break the administration path.

    Alternatively, configure Directory Proxy Server to partially route requests manually.


    $ dpconf set-server-prop -h host -p port data-view-automatic-routing-mode:limited

    When data-view-automatic-routing-mode is limited, Directory Proxy Server does not generate the excluded-subtrees and alternate-search-base-dn properties. However, Directory Proxy Server does check that the values set here do not conflict with the administration path.

  2. Configure the view exclusion base.


    $ dpconf set-ldap-data-view-prop -h host -p port view-name excluded-subtrees:suffix-DN
    

    The view exclusion base determines branches of the DIT whose entries are not exposed by the data view.

  3. Configure the alternate search base.


    $ dpconf set-ldap-data-view-prop -h host -p port view-name \
     alternate-search-base-dn:search-base-DN
    

    The alternate search base determines other branches of the DIT in which entries belonging to this data view may be located. The base DN is defined by default as an alternate search base in all data views.