C Sample Mapfiles

This appendix contains a template mapfile and some sample mapfiles.

This appendix includes the following sections:

C.1 Template Mapfile

DomainRules
# Specify the list of domain rules 
DomainExclusionList
# Specify the list of  domains to be excluded in migration
###
AttributeRules
# List the attributes that are to be migrated
AttributeExclusionList
# Specify the list of attributes that are to be excluded
~

C.2 Sample Mapfile 1

# This file contains the domain rules with the list of containers to be migrated
# and the list of attributes to be migrated.DomainRules
ou=groups,dc=us,dc=example,dc=comou=people,dc=us,dc=example,dc=com
ou=system administrators,dc=us,dc=example,dc=com
###
AttributeRules
Cn
Sn
Givenname
Objectclass

C.3 Sample Mapfile 2

# This file contains the domain rules with the list of containers to be migrated
# and the list of attributes to be filtered
DomainRules 
ou=groups,dc=us,dc=example,dc=com 
ou=people,dc=us,dc=example,dc=com
ou=system administrators,dc=us,dc=example,dc=com
###
AttributeRules
*:*
AttributeExclusionList
modifytimestamp
createtimestamp
modifiersname
creatorsname

C.4 Sample Mapfile 3

# This file contains domain rules with the list of containers to be excluded and
# the list of attributes to be excluded
DomainRules
*:*
DomainExclusionList
ou=system administrators,dc=us,dc=example,dc=com
###
AttributeRules
*:*
AttributeExclusionList
modifytimestamp
createtimestamp
modifiersname
creatorsname

C.5 Oracle Directory Server Enterprise Edition Mapfile 1

This is a mapfile for Oracle Directory Server Enterprise Edition, formerly Sun Directory Server Enterprise Edition.

# This file contains domain rules with the list of containers to be excluded and
# the list of attributes to be excluded
DomainRules
ou=groups,dc=us,dc=example,dc=com:ou=groups,dc=us,dc=example,dc=com:cn=%,ou=group,dc=us,dc=example,dc=com
ou=people,dc=us,dc=example,dc=com: ou=people,dc=us,dc=example,dc=com:uid=% ou=people,dc=us,dc=example,dc=com
ou=system
administrators,dc=us,dc=example,dc=com:ou=people,dc=us,dc=example,dc=com:uid=%, ou=people,dc=us,dc=example,dc=com
DomainExclusionList
###
AttributeRules
*:*
AttributeExclusionList
modifytimestamp
createtimestamp
modifiersname
creatorsname
nsuniqueid
aci

C.6 Oracle Directory Server Enterprise Edition Mapfile 2

This is a mapfile for Oracle Directory Server Enterprise Edition, formerly Sun Directory Server Enterprise Edition.

# This file contains domain rules with the list of containers to be excluded and
# the list of attributes to be excluded
DomainRules
*:*
###
AttributeRules
*:*
AttributeExclusionList
modifytimestamp
createtimestamp
modifiersname
creatorsname
nsuniqueid
aci

C.7 eDirectory Mapfile

# This file contains domain rules with the list of containers to be excluded and
# the list of attributes to be excluded
DomainRules
*:*
###
AttributeRules
*:*
AttributeExclusionList
modifytimestamp
createtimestamp
modifiersname
creatorsname