First time here? Check out the FAQ!
1

LDAP setup
 

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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
muselesscreator's avatar
77
muselesscreator
asked 10 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
michas's avatar
46
michas
answered 10 years ago, updated 10 years ago
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 (10 years ago)

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 (10 years ago)

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 (10 years ago)

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 (10 years ago)
see more comments