Installation LDAP server on OpenDS and ApacheDS in JIRA (Windows Environment)

This page contains an example of how to install/configure LDAP server on OpenDS and ApacheDS based in Windows environment in JIRA. 

Comparison between OpenDS and ApacheDS in terms of Specifications and Offered Features

  OpenDS ApacheDS
Licensing Open Source and Free Open Source and Free
Language Written Java Java
Supported Environment Linux and UNIX distributions, Microsoft Windows, Mac OS X, Linux and UNIX distributions, Microsoft Windows, Mac OS X,
Download Link https://opends.java.net/public/downloads_index.html http://directory.apache.org/apacheds/downloads.html
Installation Method
  • Installer
  • Archive zip
  • Installer
  • Archive zip

    You will need to download and install Apache Directory Studio which is a Eclipse tool act as the LDAP Browser/Editor in order to use ApacheDS

Java Platform Java Runtime Environment 1.5 and above Java Runtime Environment 1.6 and above
Offered Features
  • Management of recurrent and scheduled tasks
  • Monitoring of data in the Control Panel
  • Collation matching rules for I18N
  • Assured replication
  • Configuration of replication groups

The Apache Directory Server is an embeddable LDAP server implemented in pure Java. It has several features that make it unique among LDAP servers. Some of these featurea are as follows:

  • Designed as an LDAP and X.500 platform; plugable components and subsystems make ApacheDS extremely modular and ideal for experiments with various aspects of the LDAP protocol.
  • The server's frontend is completely separable from its backend and vice-versa making it very flexible for implementing virtual directories, proxy servers and gateways to X.500 directories.
  • Several backends can be implemented and plugged into the server's partition nexus. The server supports a BTree based partition out of the box but any backing store can be used to implement a partition as long as it conforms to interfaces.
  • The server exposes aspects of administration via a special system backend. LDAP can be used to manage these concerns through the system naming context at ou=system.
  • The server contains a server side JNDI LDAP provider as the facade for the entire backend subsystem. JNDI operations are directly translated by this provider into operations against the nexus and the target partitions storing server entries.
  • The server's networking code, MINA (Multipurpose Infrastructure for Network Applications) was designed for pluggable protocol providers, of all sorts and not just LDAP. MINA gives ApacheDS the ability to handle large amounts of concurrency.
  • LDAP Stored Procedures and Triggers are scheduled for the next major version of ApacheDS.
  • LDAPv3 compatible certified by the OpenGroup
Unique Usage Point
  • Setup process is a breeze and straightforward since mostly is already pre-configured
  • Love the Control Panel GUI interface which is easy to understand and very user friendly
  • Suitable for beginner that are new to LDAP environment

  • Offered Apache Directory Studio act as a powerful LDAP IDE (similar like Eclipse, Netbeans) which is useful when it comes to advanced configuration and debugging
  • High scalability and flexibility in terms of implementation

Basically both of these LDAP directory server environment it is quite similar in terms of specification and supported environment too as is widely available for almost all operating system since it is both running in Java based application. Best of all it is open source and free. 

Installation

This is based in Windows Environment only

OpenDS

  1. Download OpenDS 2.2 Update 1 archive zip and extract it out to a particular location
  2. Run setup.bat file and then basically follow either one of the tutorial below to setup your LDAP server

ApacheDS

  1. Download ApacheDS 2.0.0-M13 and Apache Directory Studio 2.0.0-M7 either 32-bit or 64-Bit
  2. Install ApacheDS first with the installation wizard then do the same for Apache Directory Studio (pretty straightforward)
  3. After that launch Apache Directory Studio, you can basically follow the instruction to create a LDAP server in here: http://directory.apache.org/studio/users-guide/ldap_browser/gettingstarted_create_connection.html

Setting it up with JIRA

Setup Environment:

OpenDS ApacheDS
  • Windows 7 Professional 64-bit
  • JIRA 5.2.11 Standalone connected to PostgresSQL 8.4 database
  • JRE 1.6
  • OpenDS 2.2 Update 1
  • Windows 7 Professional 64-bit
  • JIRA 5.2.11 Standalone connected to PostgresSQL 8.4 database
  • JRE 1.6
  • ApacheDS 2.0.0-M13
  • Apache Directory Studio 2.0.0-M

General Setup Guidelines

  1. Setup LDAP server in both OpenDS and ApacheDS (refer the installation instruction above)
  2. Configure the users and groups in both server
  3. Fresh install JIRA 5.2.11 connected with a fresh empty Postgres database
  4. Go to Administrator > Users > User Directories > Add Directory 
  5. Choose Directory Type: LDAP and select Apache Directory Server 1.5.x for ApacheDS and OpenDS for OpenDS 
  6. Fill up all other required field: Name, Directory Hostname, Port and Base DN
  7. Select Read Only as the LDAP Permissions

Make sure the attributes and object class you set in your LDAP server is correctly match the attributes that you bind in JIRA (under User and Group Schema Settings).

Example:

  • The default bind user name attribute for OpenDS in JIRA(User Schema Settings) is uid so in your OpenDS LDAP server you have to set your username under user id attribute.
  • The default bind user name attribute for ApacheDS in JIRA(User Schema Settings) is cn so in your ApacheDS LDAP server you have to set your username under common name attribute.

Differences in terms of User Interface and Configuration

UI OpenDS ApacheDS
Main

Create User
Create Group

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport