Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

ProcedureTo Configure Attribute Renaming

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

    Set one or more attr-name-mappings properties on the data view for which you want to configure attribute mapping.


    $ dpconf set-ldap-data-view-prop -h host -p port view-name \
     attr-name-mappings:client-side-attribute-name#server-side-attribute-name
      [attr-name-mappings:client-side-attribute-name#server-side-attribute-name ...]

    For example, rename surname on the client side to sn on the server side.


    $ dpconf set-ldap-data-view-prop -h host1 -p 1389 myDataView \
     attr-name-mappings:surname#sn