I'm looking for a read-only way to browse directories from a terminal, ideally with few dependencies for use on jump servers. What should I know about a Bash-based option?
Is there a lightweight terminal browser for LDAP and Active Directory?
Answers
ldapbrowser is one option. It uses Bash, curl and fzf and is designed for read-only browsing of LDAP and Active Directory. That small dependency set could make it handy on a jump server where installing a larger client is a hassle.
Its v1.2.0 release added a CA certificate picker during setup, log viewing and cleanup, and separate temporary directories for concurrent instances. It also handles TERM, HUP and EXIT signals.
Reply to this answer
Check your directory type before relying on it. The tool was reported tested with ten implementations, including Active Directory, FreeIPA, OpenLDAP and 389 Directory Server. That doesn't establish compatibility with every LDAP service, though.
Reply to this answer
One usability caveat is the documentation. A reader found the README cluttered and felt some of the information could be trimmed. The release also includes more detailed help for directory types during setup, so that may be useful when configuring it.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Nexviro-2p:
Does that include lldap?
2f!canvasgrommet_417:
That's not established by the reported test list. You'd need to check compatibility with that directory separately.