Syntax for manageSyncProfiles Arguments for manageSyncProfiles

Managing Directory Synchronization Profiles 7-19 Appendix B, Example Properties File for Synchronization Profiles to see the names of the profile properties that can be identified using prop1, prop2, and so on. -conDirHost Host where connected directory server is running. -conDirPort Port at which connected directory server listens. -conDirBindDn Connected directory server bind DN. -mode Synchronization mode to be used: import or export -conDirType Connected directory type. Supported values are ActiveDirectory, EDirectory, iPlanet, OpenLDAP, ADAM, Tivoli, OID, and ExchangeServer2003. -conDirSSL SSL mode value used to connect connected directory server -prfSt | -profileStatus Displays status for the profile. Used only with the list operation. -help Provides command usage help.

7.2.3 Tasks and Examples for manageSyncProfiles

manageSyncProfiles register -h myhost.mycompany.com -p 7005 -D login_ID \ -f optldapodipiPlImport.profile manageSyncProfiles deregister -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles updatechgnum -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles activate -h myhost.mycompany.com -p 7005 \ Note: You will be prompted for the connected directory bind DN password. You cannot provide the password as a command-line argument. Best security practice is to provide a password only in response to a prompt from the command. If you must execute manageSyncProfiles from a script, you can redirect input from a file containing the connected directory bind DN password. Use file permissions to protect the file and delete it when it is no longer necessary. If you must provide more than one password to manageSyncProfiles, put each on a separate line in the file, in the following order: connected directory bind DN password, then Oracle WebLogic Server login password. 7-20 Oracle Fusion Middleware Administrators Guide for Oracle Directory Integration Platform -D login_ID -pf myProfile manageSyncProfiles deactivate -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles get -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles testProfile -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles associateprofile -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile -assopf myProfile1 manageSyncProfiles dissociateprofile -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles getAllAssociatedProfiles -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles getAssociatedProfile -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile manageSyncProfiles update -h myhost.mycompany.com -p 7005 \ -D login_ID -pf myProfile -f optldapodipiPlImport.profile manageSyncProfiles validateMapRules -h myhost.mycompany.com -p 7005 \ -D login_ID -f optldapodipiPlImport.map -conDirHost server.example.com \ -conDirPort 8000 -conDirBindDn administratoridm2003.net -mode IMPORT \ -conDirType IPLANET manageSyncProfiles isexists -h myhost.mycompany.com -p 7005 -D login_ID \ -pf myProfile manageSyncProfiles copy -h myhost.mycompany.com -p 7005 -D login_ID \ -pf myProfile -newpf yourProfile manageSyncProfiles list -h myhost.mycompany.com -p 7005 -D login_ID -profileStatus

7.3 Modifying the Synchronization Status Attributes

During the synchronization process, the server constantly updates the orcllastappliedchangenumber synchronization status attribute. Oracle recommends that you do not change the synchronization status attributes. However, there may be cases when you need to update the orcllastappliedchangenumber attribute. For example, you may need to reapply some changes or skip synchronization of certain entries. You can change the orcllastappliedchangenumber attribute using Oracle Enterprise Manager Fusion Middleware Control or the manageSyncProfiles command and the updatechgnum argument. To change the orcllastappliedchangenumber attribute using Oracle Enterprise Manager Fusion Middleware Control, perform the steps in Editing Synchronization Profiles on page 7-7, and set the Last Change Number setting on the Advanced tab. To change the orcllastappliedchangenumber attribute using the manageSyncProfiles command and the updatechgnum argument, refer to Managing Synchronization Profiles Using manageSyncProfiles on page 7-15. Managing Directory Synchronization Profiles 7-21

7.4 Setting Null Values in Synchronization Profiles

To set a profile property value to null that is, blank or empty when manually editing a profile, use a null string, for example: . Using a comment or hash character, on the propertys line indicates only that the line will not be read, it does not set the propertys value to null. 7-22 Oracle Fusion Middleware Administrators Guide for Oracle Directory Integration Platform