LDAP Transport Installation Instructions
No longer maintained!
Please upgrade to Mule 2
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 /1.4.4 |
|
Subversion |
any |
only needed for building from source |
Maven |
2.0.5+ |
only needed for building from source |
Installing the Binary (1.4.x)
- Install Mule 1.4.x 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.x. Also, add $MULE_HOME/bin to your $PATH.
- Download the LDAP Transport JAR and copy it to $MULE_HOME/lib/user.
- Download the Novell jldap JAR 4.3 and copy it to $MULE_HOME/lib/user.
- 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)
- Install Mule 1.4.x 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.x. Also, add $MULE_HOME/bin to your $PATH.
- Download Maven 2.0.5 or higher and add the $MAVEN_HOME/bin to your $PATH
- 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.
- cd to $WS
- Run "mvn -Dmaven.test.skip=true install" at the command prompt. This builds the LDAP connector.
- Copy the mule-transport-ldap.jar file from $WS/target to $MULE_HOME/lib/user.
- Copy the libraries from the "Library Dependencies" directory below to $MULE_HOME/lib/user.
- 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.