LDAP Login's
-
@Prasanna-Prachu Looks like it's been a long time since that plugin is updated. It definitely doesn't support NodeBB v0.6.x.
Run
./nodebb reset plugin="nodebb-plugin-sso-ldap"
-
@pichalite Done. Now how to proceed with LDAP integration in NodeBB?
-
What is LDAP?
Don't give me what it stands for.
What is it actually used for?
-
We Use LDAP which contains list of users and group. so people can use the same username to login to NodeBB forum site.
-
@Prasanna-Prachu That ... doesn't help me understand what it is (although I realize it is what I asked for). Is it a database? Is it an SSO? Is it a user management thingy?
-
@julian I'm struggling with fixing old broken plugin, but I have no clue how to solve a strange problem. Plugin initializes well, but when I click on the alternative login button I get "Bad Request" error and I can't track where does it come from. Running NodeBB in dev mode does not show anything. Any clues how to find out what's causing a problem?
Anyway, it looks like fixing this old plugin is not a hard task, but I'm not very familiar with NodeBB code, so maybe someone more canny would accomplish it
-
@rasguanabana Show me the code on GitHub? Most likely the method attached to the
static:app.init
is taking multiple arguments in your plugin, but should only take one:data
. -
@julian I haven't created github repo yet. Here's the code: http://pastebin.com/LVSch1Wn
-
Any news? If not I'll make an effort this weekend and see what I can get.
-
I still cant figure this out.. I managed to get this plugin installed and activated and get the bad request error just like someone else mentioned earlier..
When you click the alternative login button, where does the plugin get the username and password to authenticate from? Is it supposed to load up a template that maybe missing or does it take the user from the default username / email field login form?
Ive tried debugging but i dont get anything other than:
::ffff:127.0.0.1 - - [16/Nov/2015:21:12:58 +0000] "GET /auth/ldapauth HTTP/1.1" 400 - "http://127.0.0.1:4567/login" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/Safari/537.36"
io: 0 emit [ 'disconnect', 'transport close' ]Thanks