Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

Setting the Default Referrals

Default referrals are returned to client applications that submit operations on a DN that is not contained on a suffix maintained by your Directory Server. The server will return all referrals that are defined, but the order in which they are returned is not defined.

ProcedureTo Set a Default Referral

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

    Use the dsconf command-line utility to set one or more default referrals.


    $ dsconf set-server-prop -h host -p port suffix-DN referral-url:referral-URL
    

    For example:


    $ dsconf set-server-prop -h host1 -p 1389 dc=example,dc=com \
     referral-url:ldap://east.example.com:1389