Using Apache Directory Studio LDIF Editor to Open LDIF Files in Designer



By: kchendil

January 13, 2010 10:38 am

Reads: 559

Comments:0

Rating:0

Authors: Chendil Kumar and Aditya Vikram

Introduction

Designer offers the functionality of storing additional objects that are not modeled in it. These objects are stored in an LDIF container under the Identity Vault. By default, there is no LDIF container. An LDIF container is created when Import Additional Objects or Import Objects from LDIF File into LDIF Container option is selected.

By default, the LDIF container object opens in a text editor. You can use the Apache Directory Studio LDIF Editor to edit the LDIF files in Designer by following the steps given in this cool solution. It can handle LDIF content files as well as the LDIF changetype files. Files with *.ldif appendix are automatically handled by the LDIF Editor.

For more information about the LDIF container, refer to the Designer documentation:

For more information about the Apache LDIF Editor, see http://directory.apache.org/studio/static/users_guide/ldif_editor/.

Installation

Windows

  1. Download the latest Apache directory studio RCP application from http://directory.apache.org/studio/downloads.html for Windows.
  2. Install the Apache directory studio.
  3. Go to <Apache Directory Studio Install Location>/ApacheDirectoryStudio-xxxx-xxx-xxx/plugins/ directory and copy the following jars (the versions might vary) to <Designer Install location>/plugins/ location.
    org.apache.directory.studio.connection.core_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.help_1.5.0.v20091102.jar
    org.apache.directory.studio.connection.ui_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.ui_1.5.0.v20091102.jar
    org.apache.directory.studio.jars_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifeditor_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.common_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifeditor.help_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.core_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifparser_1.5.0.v20091102.jar
  4. Go to <Apache Directory Studio Install Location>/ApacheDirectoryStudio-xxxx-xxx-xxx/features/ directory and copy the org.apache.directory.studio.ldifeditor.feature_1.5.0.v20091102 directory (the versions might vary) to <Designer install location>/features/ location.
  5. Start Designer.
  6. Right-click the Identity Vault in the Outline View and select Open With > LDIF Editor.

Linux

  1. Download the latest Apache directory studio RCP application from http://directory.apache.org/studio/downloads.html for the platform of your choice.
  2. Unzip the downloaded file.
  3. Go to <Unzip location>/ApacheDirectoryStudio-xxxx-xxx-xxx/plugins/ directory and copy the following jars (the versions may be different) to <Designer install location>/plugins/ location.
    org.apache.directory.studio.connection.core_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.help_1.5.0.v20091102.jar
    org.apache.directory.studio.connection.ui_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.ui_1.5.0.v20091102.jar
    org.apache.directory.studio.jars_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifeditor_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.common_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifeditor.help_1.5.0.v20091102.jar
    org.apache.directory.studio.ldapbrowser.core_1.5.0.v20091102.jar
    org.apache.directory.studio.ldifparser_1.5.0.v20091102.jar

  4. Go to <Unzip location>/ApacheDirectoryStudio-xxxx-xxx-xxx/features/ directory and copy the org.apache.directory.studio.ldifeditor.feature_1.5.0.v20091102 directory (the versions may be different) to the <Designer install location>/features/ location.
  5. Start Designer.
  6. In Designer, right-click the LDIF container and select Open With > LDIF Editor.

LDIF Container opened with Apache Directory Studio LDIF Editor

Click to view.

Conclusion: Including the Apache Directory Studio plugin in Designer enables you to view the LDIF Container objects in the LDIF Editor provided by Apache Directory Studio. It has features of grouping the objects and many more features.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: , ,
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment