Tool of the week: shelldap!

Another non-security blog post, for those of you who are tired of Luna or GQ: Recently one of my associates at work showed me a tool which really gained my attention. It is called “shelldap”, a command line interface browser for LDAPs.

Being written in Perl, shelldap tries to emulate a shell-like environment while you browse through a LDAP database. And yes, it supports [Tab] auto completion!

Here are some examples:

% shelldap
~ > [ tab ]
~ >
cat     clear   cp      delete  env     grep    id      ls      move    passwd  read    search  touch   whoami
cd      copy    create  edit    exit    help    list    mkdir   mv      pwd     rm      setenv  vi
~ > cd ou=People
ou=People,~ > cat uid=ma[ tab ]
ou=People,~ > cat uid=mahlon

dn: uid=mahlon,ou=People,dc=laika,dc=com
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: posixAccount
objectClass: shadowAccount
objectClass: apple-user
cn: Mahlon E. Smith
departmentNumber: Technology - IT
displayName: Mahlon
gecos: Mahlon E. Smith
gidNumber: 200
givenName: Mahlon
homeDirectory: /home/m/mahlon
l: Ghetto
loginShell: /bin/tcsh
mobile: 1+8829999005747
sn: Smith
title: Manager, Information Systems
uid: mahlon
uidNumber: 20933
userPassword: *

ou=People,~ >

Visit the shelldap website here.