Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Bypassing the authentication of Lime Survey

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92973

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hi,

We are developing an app based on CI and integrating it with lime survey.
The requirement is that when admin logs in into our app and clicks onto the survey link he should be redirected to the admin panel. But the problem we are facing is bypassing the limesurvey authentication.

We have tried with delegating authentication to webserver but we are unable to do so. I've gone through the instructions of optional seetings and implemented it too..But it throws an error with invalid username/password when authWebServer is set to true..i am unable to track the problem or is there something to do with enabling authentication at the web server?

So we request you to suggest a wayout for this.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92976

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1081
  • Dank erhalten: 239
  • Karma: 76
You can copy the login form in an external file, setting user & password default values.
Use JQuery for submit button emulation.

To help you to find a way, I attach 2 html samples (depend on your LS version):
Just adapt:
YOURDOMAIN
USERNAME
PASSWORD

No need to upload; can work from your desktop if the 'action' url value is correct...

If you have to use some differents sets admin+password, just change it for php file and set variables.

Dateianhang:

Dateiname: skip_auth.zip
Dateigröße: 3 KB
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: JVG

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92978

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6318
  • Dank erhalten: 812
  • Karma: 242
JVG schrieb:
We have tried with delegating authentication to webserver but we are unable to do so. I've gone through the instructions of optional seetings and implemented it too..But it throws an error with invalid username/password when authWebServer is set to true..i am unable to track the problem or is there something to do with enabling authentication at the web server?
What is your version ?

There are some patch for authWebServer in the last version.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92980

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
I am using 2.0 version. Can u please attach the link for the patch. Does it bypass LimeSurvey authentication?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92981

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6318
  • Dank erhalten: 812
  • Karma: 242
JVG schrieb:
I am using 2.0 version.
Buils number ?
Can u please attach the link for the patch. Does it bypass LimeSurvey authentication?
LS oficial core last build number : github.com/LimeSurvey/LimeSurvey
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92983

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
I am using LS with build number is 130206.Will my problem be solved if i replace it with above build?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #92995

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
I tried installing the latest build that you suggested but still there is a problem. What I need is when I login through my app and when I click on the link 'Add survey' it should bypass LimeSurvey authentication and show me the admin panel directly.

I installed the new build and reset the authWebserver variable to 'true' and edited the admin name from 'lime_users' table to the same name as is in my app login for admin. When I was done with al these changes and clicked on link 'Add survey' it redirects to this page
http://localhost/LimeSurvey-master/index.php/admin/authentication/sa/login with error Invalid username/password

Please help me through this.

Thank you
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #93007

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6318
  • Dank erhalten: 812
  • Karma: 242
Never used autWebServer,

Can you set debug to 2 and fill a bug report ?

Denis
www.limesurvey.org/en/community-services/bug-tracker
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #93009

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
I didnt get u? what is debug to 2?

Yes, will fill a bug report

Thank You.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Bypassing the authentication of Lime Survey 1 Jahr 6 Monate her #93020

  • JVG
  • JVGs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Ben_V Wrote:
To help you to find a way, I attach 2 html samples (depend on your LS version):
Just adapt:
YOURDOMAIN
USERNAME
PASSWORD



Thank You so much. I tried with the script and its working!!! :)
Letzte Änderung: 1 Jahr 6 Monate her von JVG. Begründung: forgot to add few lines
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.149 Sekunden
Donation Image