ldap browser on linux

LDAP Browser/Editor
Jarek Gawor’s LDAP Browser-Editor has been one of the most popular LDAP tools in use by directory admins for at least 7 years. Never mind that the last release of the software was v2.8.2b2 (that’s Beta 2) in 2001, it remains top on my list because, warts and all (not the least of which is that it was programmed using Java Swing), it is still the best at what it does.

Installing and configuring it on Linux has never been hard, unless you want to make it play nice in a multi-user environment. If you don’t want to force each user to install their own personal copy, you’re going to have to make some changes to the shipping shell script used to launch the app and make a dot directory in your user’s home.

My standard setup puts the unarchived app code into a directory called /opt/ldapbrowser, which I normally create by simply copying Browser282b2.tar.gz to /opt and doing a tar czf on it right there.

Next, I backup the shipping lbe.sh and replace it with my own:

cd ~/.lbe
${JAVA_HOME}/bin/java -jar ${LBE_ROOT}/lbe.jar $1 $2 $3 $4 $5 $6 $7 $8 $9

Then I run a symlink from the new lbe.sh to /usr/bin/lbe:

ln -s /opt/ldapbrowser/lbe.sh /usr/bin/lbe

Finally, I go and create an .lbe directory in my user’s home and copy attributes.config from /opt/ldapbrowser into it. I also run symlinks from /opt/ldapbrowser/help and /opt/ldapbrowser/templates into .lbe, so the resources in those directories will display properly.