AW: JSON error when adding LDAP resolver

Hi Tim,

Good to hear that the install went fine.
How does your LDAP config look like?
Especially the baseDN?

Can you see anything in the log file at /var/log/privacyidea/privacyidea.log?

I suspect there is an unhandled LDAP error due to your config and the response from the server can not be parsed.

Hitting the button ‘test connection’ issues a Ajax request testconnection.
You could also use the browser internal tools to investigate the response to this request.

Kind regards
Cornelius

Cornelius Kölbel
Cornelius.koelbel@netknights.it
+49 151 2960 1417

NetKnights GmbH
http://netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel-------- Ursprüngliche Nachricht --------
Von: Tim Shirtz tim.shirtz@quickflightservices.com
Datum:15.01.2015 16:24 (GMT+01:00)
An: privacyidea@googlegroups.com
Cc:
Betreff: JSON error when adding LDAP resolver

Can anyone shed some light on my issue here ?

I followed the How.To guide to install privacyidea as an OTP appliance. The install went smooth as butter. However, once Im set up and ready to add my OpenLDAP server as the IDresolver I hit a bump. I fill out all the info in the new resolver box and when I press “test connection” a few moments go by and I get :


We are sorry. An internal error occurred:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
in file:https://192.168.0.235/js/jquery-1.7.2.min.js
in line:2
To go on, reload this web page.

and I cannot go any further. The system is a clean ubuntu install as outlined in How-To-Forge Article .

Any ideas on what i can do to fix this ? I would really like to get this connected to my existing LDAP directory since I already have the LDAP linked to my Wordpress and Mail server.

-Tshirtz


You received this message because you are subscribed to the Google Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/01f1eda9-f2b5-4b8b-85d7-d64ba2e4d7e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.