The following example migrates all domains in the LDAP directory from Schema 1 to Schema 2, native mode:
commdirmig -D "cn=Directory Manager" -w /opt/SUNWcomm/passwd -t 1 -X ldaphost -p 389 -b "o=isp" -r "o=internet" -o -d “*”
The following example does not migrate the actual directory data. It creates an LDIF audit file showing the modification requests for migrating domains siroe.com and sesta.com from Schema 1 to Schema 2, native mode:
commdirmig -D "cn=Directory Manager" -w /opt/SUNWcomm/passwd -t 1 -X ldaphost -p 389 -b "o=isp" -r "o=internet" -d siroe.com -d sesta.com
If this example were run with the -o option, the actual directory data would be migrated.
The following example migrates the domain varrius.com from Schema 1 to Schema 2, native mode, and adds Calendar service to all the users in the domain:
commdirmig -D "cn=Directory Manager" -w /opt/SUNWcomm/passwd -t 1 -X ldaphost -p 389 -b "o=isp" -r "o=internet" -d varrius.com -S cal -o