Ask Your Question
1

LDAP setup

asked 2014-03-12 11:41:18 -0500

muselesscreator's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-12 13:39:02 -0500

michas's avatar

updated 2014-03-12 14:44:24 -0500

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.

edit flag offensive delete link more

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 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-12 11:41:18 -0500

Seen: 2,767 times

Last updated: Mar 12 '14