Ask Your Question
1

Howto migrate from openid to LDAP?

asked 2014-03-05 06:59:56 -0500

while gravatar image

updated 2014-03-05 07:05:14 -0500

I started out using openid with Google oauth. One problem I have found is that is very dependent on the address used to reach the site and this will not fly with my current implementation. I was thinking of moving over to using LDAP instead. I got the authentication working but when I login it wants me to create a new user and then it complains that the current email and screen name is taken. How can I add an LDAP auth to exiting accounts? I already have ~30 users using the site and I don't want therm all to create new accounts. If there is some manual way to add it to their accounts I could however easily do this myself manually.

Question:

How do I migrate my current accounts from OpenID (Google) to LDAP authentication?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-05 20:36:28 -0500

Evgeny gravatar image

updated 2014-03-05 20:37:56 -0500

First, set up the LDAP configuration

  1. Get the latest version of Askbot from the github (just made a patch allowing this migration)
  2. Fill out LDAP parameters in the LDAP section of settings and enable LDAP

Then migrate each user account:

  1. Recover account via email, or log in via different login method (anything other than login name + password will work)
  2. Go to your user profile page, click "manage login methods"
  3. Enter LDAP login name and password.

Now if authentication was successful, your account is associated with the LDAP credentials.

Note: there is a common issue with setting the user login name field for the Active Directory - it is not the same as default - have a look at the help text on that setting field.

edit flag offensive delete link more

Comments

Thanks! I managed to migrate the users manually in the openid association section of the admin console by entering the information manually for all users.

while gravatar imagewhile ( 2014-03-06 01:58:36 -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-05 06:59:56 -0500

Seen: 351 times

Last updated: Mar 05 '14