Skip navigation

LDAP Transport Installation Instructions



Prerequisites 1.4.x

Pre-Requisite Version Notes
JDK
>= 1.4.2 $JAVA_HOME environment set
$PATH  includes $JAVA_HOME/bin
Mule
1.4.1/1.4.3

Subversion
any
only needed for building from source
Maven
2.0.5+
only needed for building from source


Prerequisites 2.x.x (Alpha)

Pre-Requisite Version Notes
JDK
>= 1.5.x $JAVA_HOME environment set
$PATH  includes $JAVA_HOME/bin
Mule
2.x.x

Subversion
any
only needed for building from source
Maven
2.0.7+
only needed for building from source


Installing the Binary (1.4.x)

  1. Install Mule 1.4.1 to your machine, if not already installed.  When done, set your $MULE_HOME environment variable to where you installed Mule, for example c:/mule/mule-1.4.1.  Also, add $MULE_HOME/bin to your $PATH.
  2. Download the LDAP Transport JAR and copy it to $MULE_HOME/lib/user.
  3. Download the Novell jldap JAR 4.3 and copy it to $MULE_HOME/lib/user.
  4. Start mule with the -config parameter pointing to an example file where the LDAP Transport is used. If you need an directory/ldap server you can download Apache directory server from apache.org.

Installing from Source (1.4.x)

  1. Install Mule 1.4.1 to your machine, if not already installed.  When done, set your $MULE_HOME environment variable to where you installed Mule, for example c:/mule/mule-1.4.1.  Also, add $MULE_HOME/bin to your $PATH.
  2. Download Maven 2.0.5 or higher and add the $MAVEN_HOME/bin to your $PATH
  3. Check out the latest LDAP Transport code from Subversion at: https://svn.muleforge.org/mule-transport-ldap
    For this example, let's say your Subversion workspace is $WS.
  4. cd to $WS
  5. Run "mvn -Dmaven.test.skip=true install" at the command prompt.  This builds the LDAP connector. 
  6. Copy the mule-transport-ldap.jar file from $WS/target to $MULE_HOME/lib/user.
  7. Copy the libraries from the "Library Dependencies" directory below to $MULE_HOME/lib/user.
  8. Start mule with the -config parameter pointing to an example file where the LDAP Transport is used. If you need an directory/ldap server you can download Apache directory server from apache.org.

Library Dependencies

The following libraries are needed by the LDAP Transport.  They are copied to you M2_REPO location during the build:

$M2_REPO/com/novell/ldap/jldap/4.3/jldap-4.3.jar

Note: The $M2_REPO location on Linux/Unix the location is  ~/.m2 by default. On Windows it's usually c:/Documents and Settings/<user>/.m2.

Adaptavist Theme Builder Powered by Atlassian Confluence