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 Kölbel
+49 151 2960 1417

NetKnights GmbH
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
Datum:15.01.2015 16:24 (GMT+01:00)
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:
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.


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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit