News for hackers. Stuff that matters.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by zephyreon on Tuesday September 02, 2025 @10:25AM (#45103551)
As someone that spends an inordinate amount of time in LDAP for work, it warms my heart to see this project. Will definitely try it out!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by zephyreon on Tuesday September 02, 2025 @10:26AM (#45103559)
Apache Directory Studio is extremely cumbersome / heavy so this is much appreciated.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by mbreese on Tuesday September 02, 2025 @10:42AM (#45103766)
That was what I immediately was thinking about. I wish I had had a tool like this when admining an LDAP server for a compute cluster. This would have made my life much easier, as opposed to using Apache Directory Studio through SSH tunnels.

I’m glad this tool exists.

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @11:38AM (#45104524)
I hate it so much. And it barely works with newer macs.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by majkinetor on Tuesday September 02, 2025 @11:29AM (#45104366)
This is epic, especially as it is repository friendly. Thank you.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @11:37AM (#45104485)
You're very welcome!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by majkinetor on Tuesday September 02, 2025 @12:21PM (#45105167)
Tested it now somewhat. Some points so far:

1. Installation script doesn't work on Windows. Exit 1 is particularly problematic as it kills the current shell

2. No search on current page vim style (/) or full page up/down J/K

3. On Query page j works but k somewhat scrambless the page in Windows terminal

Not sure how seriously you want to support Windows, I could rise tickets on Github

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @12:52PM (#45105696)
I don't have a way to debug windows, so atm it's kind wysiwyg.

#2 is a great idea. open a ticket if you'd like.

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by throw0101a on Tuesday September 02, 2025 @11:44AM (#45104620)
Is it possible to view/edit the "cn=config" tree of OpenLDAP to make configuration changes with this?

I often do

    ldapvi -h ldapi:/// -Y EXTERNAL -b 'cn=config'
and another tool could be useful.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @12:54PM (#45105726)
It would be possible, but I don't have a good ldap server to test on, especially one I can modify config changes. If you'd like to contribute to the repo, adding a test ldap server that can be used for development would enable a lot more features.
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by bravetraveler on Tuesday September 02, 2025 @03:18PM (#45107741)
May find this worth a whirl, hosted instance: https://www.freeipa.org/page/Demo

Verified the services respond/credentials work [through the UI, my ldapsearch-fu is weak] :)

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by throw0101a on Wednesday September 03, 2025 @08:44AM (#45115048)
If you have a Debian or Ubuntu system available, installing the `slapd` package (OpenLDAP) would be sufficient to get something on localhost or ldapi:///. RH-based systems have openldap* packages.

You don't really have to do much more than that for the purpose of testing this (no creating of accounts, groups, sub-trees, etc).

Perhaps at most go to the stanza/paragraph that defines "olcDbIndex" values, add a new one, and see if a new index file is created in "olcDbDirectory" (often /var/lib/ldap):

* https://www.zytrax.com/books/ldap/apa/indeces.html

* https://warlord0blog.wordpress.com/2020/10/19/ldap-indexes/

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by victor106 on Tuesday September 02, 2025 @11:51AM (#45104723)
Does this work with AD?
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @12:52PM (#45105702)
Haven't tested, but i think it should. it's using Go's LDAP library in the background
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by jcims on Tuesday September 02, 2025 @10:22AM (#45103519)
Miss my days tinkering with LDAP. This looks great, thanks!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by oaiey on Tuesday September 02, 2025 @01:25PM (#45106197)
Me too. I also believe that LDAP and directory services are overlooked today
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by dionian on Tuesday September 02, 2025 @10:59AM (#45103988)
We need more TUIs! Love it!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by joelp on Tuesday September 02, 2025 @11:26AM (#45104318)
The OP should post this on terminal trove [0]

There are lots of TUIs there.

[0] https://terminaltrove.com/

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by dionian on Tuesday September 02, 2025 @12:17PM (#45105107)
Nice, thanks for the link. Right up my alley
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @11:37AM (#45104488)
Will do!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @11:04AM (#45104037)
Thank you!
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by 7y3g3g2h2u28 on Tuesday September 02, 2025 @11:40AM (#45104543)
176 276 123
Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by johntash on Tuesday September 02, 2025 @01:28PM (#45106250)
As someone else who has to do a lot of work with LDAP, thank you!

You might want to consider adding a LICENSE file to the repo. That's the first place I looked before noticing it at the bottom of the readme.

Re:Show HN: Moribito – A TUI for LDAP Viewing/Queries by woumn on Tuesday September 02, 2025 @03:43PM (#45108080)
I am thinking you opened an issue. Thank you! I added one.