Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    NodeBB + Ldap = internal BB?

    NodeBB
    5
    17
    152
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yusf
      yusf last edited by yusf

      To follow up, what you need to do is to fork the nodebb-app repo and add the LDAP addon to the manifest. Then you can install this forked app, install an LDAP NodeBB plugin into it and set it up manually.

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        There was not functional ldap plugin for nodebb last I checked. Do you know if this has changed?

        yusf 1 Reply Last reply Reply Quote 0
        • yusf
          yusf @girish last edited by

          @girish Last time I checked there was one iirc, I had it installed but not configured (because I didn’t know how at the time). I remember following the forking history through 3–4 repos before finding the most current one.

          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @yusf last edited by

            @yusf @girish just had a quick look and it looks like this may be most recent one https://github.com/ink-blot/nodebb-plugin-node-ldap

            imc67 1 Reply Last reply Reply Quote 3
            • imc67
              imc67 @jdaviescoates last edited by

              @jdaviescoates @girish this looks indeed a good solution!

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @imc67 last edited by

                @imc67 Indeed, it's atleast a good start. It does have some strange code I need to look into like https://github.com/ink-blot/nodebb-plugin-node-ldap/blob/master/index.js#L74 . Why LDAP code has murmur hash, I have no clue.

                1 Reply Last reply Reply Quote 1
                • yusf
                  yusf last edited by

                  Also, the plugin doesn't work as it fails to activate. Logs later.

                  yusf 1 Reply Last reply Reply Quote 1
                  • yusf
                    yusf @yusf last edited by yusf

                    @yusf said in NodeBB + Ldap = internal BB?:

                    plugin doesn't work as it fails to activate

                    Correction: The plugin does activate, but there's no sign of its settings pane.

                    e0dceaa7-596a-4db1-983c-6792045840f1-bild.png

                    From the plugin readme:

                    It is possible that your linux distribution may be missing some dependencies for this plugin to work. If that is the case, try:

                    sudo apt-get update && apt-get install -y ldap-utils dnsutils

                    What's the status of these packages in Cloudron, @girish?

                    girish 1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff @yusf last edited by

                      @yusf Not sure why it needs them because it uses ldapjs 🤔

                      yusf 1 Reply Last reply Reply Quote 0
                      • yusf
                        yusf @girish last edited by

                        @girish Any insight into this? I've no idea either.

                        imc67 girish 2 Replies Last reply Reply Quote 0
                        • imc67
                          imc67 @yusf last edited by

                          @yusf I couldn’t wait longer so I went for Wordpress, BBpress and BuddyPress.

                          1 Reply Last reply Reply Quote 2
                          • girish
                            girish Staff @yusf last edited by

                            @yusf Not really, haven't had time to look into it. Maybe in the next 2-3 weeks. Cloudron 6 is the important priority now.

                            1 Reply Last reply Reply Quote 2
                            • F
                              flistertwo last edited by

                              I want to login to nodebb by using LDAP, which plugin should I use?
                              I have tried nodebb-plugin-office-ldap and nodebb-plugin-sso-ldap, and I can't solve my problem very well.

                              girish 1 Reply Last reply Reply Quote 0
                              • girish
                                girish Staff @flistertwo last edited by

                                @flistertwo None of the ldap plugins have been updated in a while, so one has to develop a LDAP plugin to make things work with NodeBB. https://github.com/smartameer/nodebb-plugin-office-ldap hasn't been updated in 3 years and https://github.com/ianbogda/nodebb-plugin-sso-ldap has no updates in 6 years.

                                jdaviescoates 1 Reply Last reply Reply Quote 0
                                • jdaviescoates
                                  jdaviescoates @girish last edited by

                                  @girish the one I shared above https://github.com/ink-blot/nodebb-plugin-node-ldap is also a little bit old (the last commit was nearly 12 months ago), but it's newer than those two.

                                  1 Reply Last reply Reply Quote 2
                                  • First post
                                    Last post