Are there any good and lightweight LDAP querying tools?

Solution 1:

Apache Directory Studio

alt text

It's not exactly lightweight, but it is an excellent tool for doing ad hoc inspection and modifications to an LDAP database

Solution 2:

ldapsearch is pretty lightweight... Part of the standard bits that come with openLDAP. What platform, etc?

ldapsearch -h ldapserver -b ou=people,dc=example,dc=com -D uid=root,dc=example,dc=com -x -W "(|(uid=foo)(cn=*bar*))"

I'd suggest setting up an alias or script that prefills in the boring bits that are always the same. My example assumes authentication. read the manpage.


Solution 3:

For Windows there's LDP. I use it all the time. It's part of the Windows Support Tools.


Solution 4:

ldapvi - it returns the results of the search into $EDITOR, where you can change all of them at once, then just save and it handles the details. Much better than faffing around with LDIF. As for a more heavyweight LDAP browser, I second Apache Directory Studio.


Solution 5:

I've used Softerra LDAP Browser (http://www.ldapadministrator.com/) before in the past. It's reasonably lightweight (GUI based, but pretty nice for perusing LDAP - made my life easier on multiple occasions!). Windows only though unfortunately.

They also offer a commercial version called LDAP Administrator, but I've no experience with that product. I certainly recommend the freeware version though!

Tags:

Ldap

Query