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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. NodeBB
  3. NodeBB + Ldap = internal BB?

NodeBB + Ldap = internal BB?

Scheduled Pinned Locked Moved NodeBB
21 Posts 8 Posters 3.2k Views 10 Watching
  • 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.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by yusf
    #3

    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
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

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

      yusfY 1 Reply Last reply
      0
      • girishG girish

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

        yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by
        #5

        @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.

        jdaviescoatesJ 1 Reply Last reply
        0
        • yusfY yusf

          @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.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #6

          @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

          I use Cloudron with Gandi & Hetzner

          imc67I 1 Reply Last reply
          3
          • jdaviescoatesJ jdaviescoates

            @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

            imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote on last edited by
            #7

            @jdaviescoates @girish this looks indeed a good solution!

            girishG 1 Reply Last reply
            0
            • imc67I imc67

              @jdaviescoates @girish this looks indeed a good solution!

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #8

              @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
              1
              • yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #9

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

                yusfY 1 Reply Last reply
                1
                • yusfY yusf

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

                  yusfY Offline
                  yusfY Offline
                  yusf
                  wrote on last edited by yusf
                  #10

                  @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?

                  girishG 1 Reply Last reply
                  1
                  • yusfY 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?

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #11

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

                    yusfY 1 Reply Last reply
                    0
                    • girishG girish

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

                      yusfY Offline
                      yusfY Offline
                      yusf
                      wrote on last edited by
                      #12

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

                      imc67I girishG 2 Replies Last reply
                      0
                      • yusfY yusf

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

                        imc67I Offline
                        imc67I Offline
                        imc67
                        translator
                        wrote on last edited by
                        #13

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

                        1 Reply Last reply
                        2
                        • yusfY yusf

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

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #14

                          @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
                          2
                          • F Offline
                            F Offline
                            flistertwo
                            wrote on last edited by
                            #15

                            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.

                            girishG 1 Reply Last reply
                            0
                            • F flistertwo

                              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.

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #16

                              @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.

                              jdaviescoatesJ 1 Reply Last reply
                              0
                              • girishG girish

                                @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.

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #17

                                @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.

                                I use Cloudron with Gandi & Hetzner

                                bubonicfredB 1 Reply Last reply
                                2
                                • jdaviescoatesJ jdaviescoates

                                  @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.

                                  bubonicfredB Offline
                                  bubonicfredB Offline
                                  bubonicfred
                                  wrote on last edited by
                                  #18

                                  @jdaviescoates
                                  Theres a more active fork at https://github.com/csturiale/nodebb-plugin-node-ldap

                                  1 Reply Last reply
                                  3
                                  • S Offline
                                    S Offline
                                    sirmavid
                                    wrote on last edited by
                                    #19

                                    the plugin doesn't work as it fails to activate.

                                    robiR 1 Reply Last reply
                                    0
                                    • S sirmavid

                                      the plugin doesn't work as it fails to activate.

                                      robiR Offline
                                      robiR Offline
                                      robi
                                      wrote on last edited by
                                      #20

                                      @sirmavid have you contacted the maintainer?

                                      Conscious tech

                                      S 1 Reply Last reply
                                      0
                                      • robiR robi

                                        @sirmavid have you contacted the maintainer?

                                        S Offline
                                        S Offline
                                        sirmavid
                                        wrote on last edited by
                                        #21

                                        Not yet, i'll contact soon... .

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search