Show HN: Moribito – A TUI for LDAP Viewing/Queries

(github.com)

94 points | by woumn 16 hours ago ago

23 comments

  • zephyreon 15 hours ago ago

    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!

    • zephyreon 15 hours ago ago

      Apache Directory Studio is extremely cumbersome / heavy so this is much appreciated.

      • mbreese 14 hours ago ago

        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.

      • woumn 13 hours ago ago

        I hate it so much. And it barely works with newer macs.

  • majkinetor 14 hours ago ago

    This is epic, especially as it is repository friendly. Thank you.

    • woumn 13 hours ago ago

      You're very welcome!

      • majkinetor 13 hours ago ago

        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

        • woumn 12 hours ago ago

          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.

  • johntash 12 hours ago ago

    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.

    • woumn 9 hours ago ago

      I am thinking you opened an issue. Thank you! I added one.

  • throw0101a 13 hours ago ago

    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.
    • woumn 12 hours ago ago

      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.

  • dionian 14 hours ago ago

    We need more TUIs! Love it!

    • joelp 14 hours ago ago

      The OP should post this on terminal trove [0]

      There are lots of TUIs there.

      [0] https://terminaltrove.com/

      • woumn 13 hours ago ago

        Will do!

      • dionian 13 hours ago ago

        Nice, thanks for the link. Right up my alley

    • woumn 14 hours ago ago

      Thank you!

  • jcims 15 hours ago ago

    Miss my days tinkering with LDAP. This looks great, thanks!

    • oaiey 12 hours ago ago

      Me too. I also believe that LDAP and directory services are overlooked today

  • victor106 13 hours ago ago

    Does this work with AD?

    • woumn 12 hours ago ago

      Haven't tested, but i think it should. it's using Go's LDAP library in the background

  • 7y3g3g2h2u28 13 hours ago ago

    176 276 123