logo       Dave's Online Memory
CUpyLDAP - Cornell University LDAP directory search tool You: 38.103.63.58 Friday Dec 5, 2008 12:46AM PST

The recent move from PH to LDAP has caused many of us who use un*x systems to figure out novel ways to get the same easy searches we used to do with a simple finger or ph query. Those of us who are sysadmins must also try to explain the intracacies of an ldap query for those users who have a difficult time with
ldapsearch -x -u -LLL 'cn=blah blah blah'
and that's if we can get them to launch a terminal window.

Though I usually have multiple web browsers open, there are also times when I don't want to waste the system resources or time waiting on a browser. I just want to pop off a quick query. I also found it just a little annoy^H^H^H^H^Hdifficult to skim through all those administrative fields. Sure, I wrapped a reduced query in a script, but I was always finding that I needed more information, or that I wanted to reduce the number of fields returned.

screenshot of cupyldap Enter cupyldap, a friendlier front-end to the ldapsearch tool. Developed under GNU/linux, it has been tested on Slackware, Debian, RedHat, and Familiar (iPAQ) distributions. Plans are to test it on MacOS and Win32 using the cygwin extensions.

Any system with a fairly recent python and OpenLDAP installation should have no trouble running it. I welcome all feedback on success or failure on other platforms.

The man page contains much more detailed information. An html version (that is included in the package) is available for viewing here.

The package, which includes the application, man page, and an installer, can be obtained here:
cupyldap.tgz (15 kb)

Simply unpack it (gunzip cupyldap.tgz | tar xf -), and run the installer ((cd cupyldap ; ./install.sh)). If run by root, the binary and man page will be installed in /usr/local/(bin|man/man1). There are other options, however. Type install.sh -h for help.

enjoy, ...dave

...dave


silly cat image Top of Page FEEDBACK      Comments, Corrections & Questions welcome