20070618 ldap browser on linux - plembo/onemoretech GitHub Wiki

title: ldap browser on linux link: https://onemoretech.wordpress.com/2007/06/18/ldap-browser-on-linux/ author: lembobro description: post_id: 683 created: 2007/06/18 01:41:00 created_gmt: 2007/06/18 01:41:00 comment_status: open post_name: ldap-browser-on-linux status: publish post_type: post

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:

#!/bin/sh JAVA_HOME=/usr/java/jdk1.5.0_11 LBE_ROOT=/opt/ldapbrowser 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.

Copyright 2004-2019 Phil Lembo