First time here? Check out the FAQ!
1

LDAP setup

  • retag add tags

Trying to get ldap working on askbot 0.7.49.

I modified the settings in settings/LDAP_SETTINGS and removed the other login options in settings/LOGIN_PROVIDERS but now I have no options when I try to sign in, and there is no "register" button for new users.

Is there an extra step I am missing?

muselesscreator's avatar
77
muselesscreator
asked 2014-03-12 11:41:18 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Just activate "Always display local login form" and deactivate all other check boxes.

This should leave you with a name/password entry. If you entered your LDAP settings correctly, askbot will validate all logins against your LDAP.

There will be no register button, because askbot is using LDAP read only and therefore cannot create users in your LDAP.

michas's avatar
46
michas
answered 2014-03-12 13:39:02 -0600, updated 2014-03-12 14:44:24 -0600
edit flag offensive 0 remove flag delete link

Comments

So to use ldap for our askbot, we would have to add the users manually any time a new person wants to join?

muselesscreator's avatar muselesscreator (2014-03-12 13:53:46 -0600) edit

Well, LDAP is usually used in a company that manages all employees in a central LDAP server. If you do not have a fixed set of users, maybe another solution would be better. What is your situation? Why do you think LDAP would be good for you?

michas's avatar michas (2014-03-12 14:15:55 -0600) edit

We have a user base that we want to share between a wiki and a forum, as well as for our company support (aka newsletters/release announcements and to keep track of the size/activity of the community). Our goal with LDAP was to use it as a simple shared authentication server for all of these purposes.

muselesscreator's avatar muselesscreator (2014-03-12 14:27:20 -0600) edit

Sounds like you want some separate registration page, which creates the user in LDAP. Afterwards the user can use those credentials to access all your services. (Instead of LDAP you could also use OpenID but the registration issue will be the same.)

michas's avatar michas (2014-03-12 15:00:58 -0600) edit
add a comment see more comments