Configuring attribute mapping
About this task
The following procedure defines an attribute map from the email attribute in the source servers to a mail attribute in the target servers. Both attributes must be valid in the target servers and must be present in their respective schemas.
|
The following can also be done with |
Steps
-
On PingDataSync, run the
dsconfigcommand to create an attribute map for the "SunDS>DS" Sync Class for the "Sun DS to Ping Identity DS" Sync Pipe, and then run the seconddsconfigcommand to apply the new attribute map to the Sync Pipe and Sync Class.$ bin/dsconfig --no-prompt create-attribute-map \ --map-name "SunDS>DS Attr Map" \ --set "description:Attribute Map for SunDS>Ping Identity Sync Class" \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret$ bin/dsconfig --no-prompt set-sync-class-prop \ --pipe-name "Sun DS to DS" \ --class-name "SunDS>DS" \ --set "attribute-map:SunDS>DS Attr Map" \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret -
Create an attribute mapping (from
emailtomail) for the new attribute map.$ bin/dsconfig --no-prompt create-attribute-mapping \ --map-name "SunDS>DS Attr Map" \ --mapping-name mail --type direct \ --set "description:Email>Mail Mapping" \ --set from-attribute:email \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret -
For a bidirectional deployment, repeat steps 1–2 to create an attribute map for the DS>SunDS Sync Class for the Ping Identity DS to Sun DS Sync Pipe, and create an attribute mapping that maps
mailtoemail.$ bin/dsconfig --no-prompt create-attribute-map \ --map-name "DS>SunDS Attr Map" \ --set "description:Attribute Map for DS>SunDS Sync Class" \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret$ bin/dsconfig --no-prompt set-sync-class-prop \ --pipe-name "Ping Identity DS to Sun DS" \ --class-name "DS>SunDS" \ --set "attribute-map:DS>SunDS Attr Map" \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret$ bin/dsconfig --no-prompt create-attribute-mapping \ --map-name "DS>SunDS Attr Map" \ --mapping-name email \ --type direct \ --set "description:Mail>Email Mapping" \ --set from-attribute:mail \ --port 7389 \ --bindDN "cn=admin,dc=example,dc=com" \ --bindPassword secret