Directory Server Documentation Index
Command-Line Tool Reference Home

migrate-ldap-schema

Description
Examples
Arguments

Description

Migrate schema information from an existing LDAP server into a Ping Identity Directory Server instance.

This tool may be used to migrate schema information from an existing LDAP server into this Ping Identity Directory Server instance. The source server may be any standards-compliant LDAPv3 server. All attribute type and objectclass definitions which are contained in the source LDAP server but not in the target Ping Identity Directory Server instance will be either added to the target instance or written to a schema file.

Examples

Invoke the migrate-ldap-schema tool in interactive mode:
migrate-ldap-schema


Invoke the migrate-ldap-schema tool in non-interactive mode:
migrate-ldap-schema --sourceHost source.example.com --sourcePort 389 \
     --sourceBindDN "cn=Directory Manager" --sourceBindPassword password \
     --targetHost target.example.com --targetPort 389 \
     --targetBindDN "cn=Directory Manager" --targetBindPassword password \
     --applyChanges --no-prompt

Arguments

-V
--version

Description Display Directory Server version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes

-X
--trustAll

Description Trust all server SSL certificates

-P {truststorePath}
--trustStorePath {truststorePath}

Description Certificate truststore path
Required No
Multi-Valued No

-T {truststorePassword}
--trustStorePassword {truststorePassword}

Description Certificate truststore PIN
Required No
Multi-Valued No

-U {path}
--trustStorePasswordFile {path}

Description Certificate truststore PIN file
Required No
Multi-Valued No

--sourceHost {host}

Description The address of the source LDAP server from which to read the schema information
Default Value localhost
Required Yes
Multi-Valued No

--sourcePort {port}

Description The port of the source LDAP server from which to read the schema information
Lower Bound 1
Upper Bound 65535
Default Value 389
Required Yes
Multi-Valued No

--sourceUseSSL

Description Use SSL when communicating with the source LDAP server

--sourceUseStartTLS

Description Use StartTLS when communicating with the source LDAP server

--sourceBindDN {bindDN}

Description The bind DN to use to authenticate to the source LDAP server. This user should have sufficient access rights to read the schema information from the source server
Default Value cn=Directory Manager
Required Yes
Multi-Valued No

--sourceBindPassword {bindPassword}

Description The password to use to authenticate to the source LDAP server
Required No
Multi-Valued No

--sourceBindPasswordFile {bindPasswordFile}

Description The path to a file containing the password to use to authenticate to the source LDAP server
Required No
Multi-Valued No

--targetHost {host}

Description The address of the target LDAP server whose schema should be updated
Default Value localhost
Required Yes
Multi-Valued No

--targetPort {port}

Description The port of the target LDAP server whose schema should be updated
Lower Bound 1
Upper Bound 65535
Default Value 389
Required Yes
Multi-Valued No

--targetUseSSL

Description Use SSL when communicating with the target LDAP server

--targetUseStartTLS

Description Use StartTLS when communicating with the target LDAP server

--targetBindDN {bindDN}

Description The bind DN to use to authenticate to the target LDAP server. This user should have sufficient access rights to read and update the schema information for the target server
Default Value cn=Directory Manager
Required Yes
Multi-Valued No

--targetBindPassword {bindPassword}

Description The password to use to authenticate to the target LDAP server
Required No
Multi-Valued No

--targetBindPasswordFile {bindPasswordFile}

Description The path to a file containing the password to use to authenticate to the target LDAP server
Required No
Multi-Valued No

--applyChanges

Description Apply the changes to the target server over LDAP rather than writing them to an LDIF file

--schemaFileName {name}

Description The name of the schema file to which the schema changes should be written
Default Value 98-migrated-schema.ldif
Required No
Multi-Valued No

-n
--no-prompt

Description Use non-interactive mode. If data in the command is missing, you will not be prompted and the tool will fail