NodeBB + Ldap = internal BB?
-
Has anyone here on Cloudron experience to use NodeBB with LDAP, all data only for LDAP users and no external signup?
This way I guess it must be possible to use it like a kind of “intranet BB”?
-
There was not functional ldap plugin for nodebb last I checked. Do you know if this has changed?
-
@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
-
@jdaviescoates @girish this looks indeed a good solution!
-
@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.
-
@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.
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?
-
-
-
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. -
@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.
-
@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.
-
@jdaviescoates
Theres a more active fork at https://github.com/csturiale/nodebb-plugin-node-ldap