Installation and Upgrade > Windchill Upgrade > The Windchill Upgrade Procedure > Stage the Source Data for the Upgrade > Importing Source LDAP Using the Command Line
  
Importing Source LDAP Using the Command Line
The Import command appends any new data that a user may have added in the LDIF file manually. The command does not overwrite any existing data In the LDAP server. The location of the LDIF file that will be imported is specified in the command (i.e. \server\bat\PTCLdap_database\<name_of_the_file>.ldif)
Use the following command to import your LDAP:
Windows
<WindchillDS_Installation_Directory>\server\bat\import-ldif.bat --ldifFile
<Output_Dir>\sourceLdap.ldif backendID userRoot --append --hostname <Machine_Host_Name>
--port <Port_Number> --bindDN <Administrative_User> --bindPassword <Administrative_Password>
--trustAll --noPropertiesFile --rejectFile <Rejected_File_Name> --skipFile <Skipped_File_Name>
UNIX
<WindchillDS_Installation_Directory>/server/bin/import-ldif --ldifFile
<Output_Dir>/sourceLdap.ldif --backendID userRoot --append --hostname <Machine_Host_Name>
--port <Administratove_Port_Number> --bindDN <Administrative_User>
--bindPassword <Administrative_Password> --trustAll --noPropertiesFile
--rejectFile <Reject_File_Name> --skipFile <Skipped_File_Name>
Configuring for an Enterprise LDAP
If your site uses a corporate, enterprise LDAP, configure the source system JNDI adapter to point to the search base DN that is imported into Windchill Directory Server.