Exporting an LDIF file
Use this information to export an LDAP Data Interchange Format (LDIF) file
You can transfer information between different LDIF files. You can export all or part of your LDAP directory to an LDIF file.
To export an LDIF file from the directory server, take these steps:
Notes:
- In iSeries™ Navigator, expand Network.
- Expand Servers.
- Click TCP/IP.
- Right-click IBM Directory Server and select Tools, then Export File.
If you do not specify a fully qualified path for the LDIF file to export data into, the file will be created in the home directory specified in your operating system user profile.
- Specify whether to Export entire directory or Export selected subtree as well as whether to Export operational attributes. The operational attributes that are exported are creatorsName, createTimestamp, modifiersName, and modifyTimestamp.
- When exporting data for importation into V5R3 or earlier directory servers, do not select Export operational attributes. These operational attributes cannot be imported into V5R3 or earlier directory servers.
- You can also create a full or partial LDIF file with the ldapsearch utility. Use the -L option and redirect the output to a file.
- Be sure to set authority to the LDIF file to prevent unauthorized access to directory data. To do this, right-click on the file in iSeries Navigator, then select Permissions.
Parent topic:
General administration tasks
Related reference
LDAP data interchange format (LDIF)
ldapsearch