New Login Method implemented during version upgrade Problems

More
5 months 2 weeks ago - 5 months 2 weeks ago #153523 by katcher01
katcher01 created the topic: New Login Method implemented during version upgrade Problems
We are currently running Limesurvey Version 2.05+ Build 140116. We are upgrading to the current version 2.6.4x.

Our current login uses a modified Authdap and single signon. Essentially, we do a token based auth and if true, query limesurvey to find user. If the user is not there, we query LDAP to get basic user info and insert it into the limesurvey database.


The new version has this re-written using a custom auth plugin. Similar procedure. In both cases, direct login is hidden/forbidden.

I tried a dry run upgrade, following upgrade instructions and the db update worked perfectly. I was not however able to login as the newly installed authentication plugin was not enabled. Is there some way I can temporarily enable direct login with admin user so that I can enable the new method? Is there another way I can do this that I am not aware of? I was lucky enough to have the admin user logged in and I assume the cookie was saved allowing him to enable the plugin.

I will try it again and provide my step by step procedure and see if it works. I was hoping I could force the username/password login to log in as admin then make the necessary changes to the upgraded site.

Please advise

Eric
Last Edit: 5 months 2 weeks ago by katcher01.

Please Log in to join the conversation.

More
5 months 2 weeks ago #153845 by katcher01
katcher01 replied the topic: New Login Method implemented during version upgrade Problems
Logged in to existing installation as admin.
Ran upgrade - replaced files etc
Following upgrade message, I was able to navigate to the plugin page and enable the new custom Auth/enrol plugin. All seemed fine.

I guess the trick was being logged in as superadmin prior to running upgrade as I was unable to log in from login form.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now