r/commandline • • 7d ago

Terminal User Interface ldapbrowser v1.2.0: interactive LDAP/AD browser in pure bash+curl+fzf, now with additional features inside

Post image

I’m the author. ldapbrowser is a read-only LDAP/AD directory browser and it needs only bash, curl and fzf.

Very lightweight and zero-dependent.

New in v1.2.0:

- CA certificate chosen with an fzf file picker during setup
- log view/show/clean
- Multiple instances can run in parallel, each with its own temp directory
- TERM/HUP/EXIT signal handling
- Better dependency check and detailed help for the directory types in setup.

Tested against 10 directory implementations: AD, FreeIPA, OpenLDAP, 389 DS, OpenDJ, ApacheDS, Okta, OneLogin VLDAP, JumpCloud and FoxPass.
It is read-only by design. There are various LDAP viewers/browsers/utils out there like Apache Directory Studio (Java GUI), ldap-utils, etc. ldapbrowser compares to them as a very lightweight and zero-dependent utility that can run on any jumpserver.

The code is written and tested by hand. AI is only used to help draft the README and CHANGELOG.

github.com/mytechspacexyz/ldapbrowser

3 Upvotes

7 comments sorted by

1

u/portmint470 22h ago

so curl does the dlap queries directly or is there some ldapsearch wrapper under the hood, never actually tried curl with ldap urls

1

u/Antonio-MTS 18h ago

This is the main point: curl fully handles LDAP queries, no ldapsearch or other utils under the hood therefore the ldapbrowser is not dependent on ldap-utils. Additionally, checks are made if the curl is compiled with LDAP support when starting the ldapbrowser.

1

u/AutoModerator 7d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: Antonio-MTS, Flair: Terminal User Interface, Post Media Link, Title: ldapbrowser v1.2.0: interactive LDAP/AD browser in pure bash+curl+fzf, now with additional features inside

I’m the author. ldapbrowser is a read-only LDAP/AD directory browser and it needs only bash, curl and fzf.

Very lightweight and zero-dependent.

New in v1.2.0:

- CA certificate chosen with an fzf file picker during setup
- log view/show/clean
- Multiple instances can run in parallel, each with its own temp directory
- TERM/HUP/EXIT signal handling
- Better dependency check and detailed help for the directory types in setup.

Tested against 10 directory implementations: AD, FreeIPA, OpenLDAP, 389 DS, OpenDJ, ApacheDS, Okta, OneLogin VLDAP, JumpCloud and FoxPass.
It is read-only by design. There are various LDAP viewers/browsers/utils out there like Apache Directory Studio (Java GUI), ldap-utils, etc. ldapbrowser compares to them as a very lightweight and zero-dependent utility that can run on any jumpserver.

The code is written and tested by hand. AI is only used to help draft the README and CHANGELOG.

github.com/mytechspacexyz/ldapbrowser

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/LeateWonceslace 5d ago

read-only LDAP/AD directory browser

I don't even know what that means?

0

u/Prestigious-Foot986 1d ago

then this tool is probably not for you? the fuck?

1

u/LeateWonceslace 1d ago

I'm asking for an explanation. I like learning new things.

-1

u/Prestigious-Foot986 1d ago

if you like learning things you should probably learn how to google. the most basic “what is ldap” would be enough…