Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search

    LDAP Sync issue / "malformed JSON" syntax error

    General
    2
    4
    629
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FGrijp last edited by

      I had I-doIT Pro configured to sync new users from LDAP every night. Out of the blue this stopped working, without any changes being made to the configuration or anything else (that I know of). Trying to start a sync manually gives a "malformed JSON" error:

      [root@idoit-ict i-doit]# sudo -u apache ./controller -v -m ldap sync
      Logging in..
      Connected to tenant: ICT Operations (1, user: controller)
      General error: Syntax error, malformed JSON

      (I-doIT is running on a CentOS 6 server, with PHP5.6 and MariaDB10)

      I could not find anything out of the ordinary in any config or log files, except in I-doIT itself under Administration>System settings>Tenantsettings>LDAP (see attached screenshot). Before I found this I had already tried updating I-doIT to 1.9.3, which did not help with the sync issue (although it did give us the improved search bar, which was a pleasant surprise).

      Does anyone have an idea what happened, what's wrong, or how to fix it?
      idoit_LDAP_config.png

      Running I-doIT 1.8 PRO on CentOS 6.

      1 Reply Last reply Reply Quote 0
      • creiss
        creiss i-doit Kenner last edited by

        Hi,

        just remove the content in the field shown and you are ready to go. 😉

        Kind Regards,
        Christian

        NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/channel/UCK9fitbW5J1yhiDs5Dr3YQw
        Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
        i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

        1 Reply Last reply Reply Quote 0
        • F
          FGrijp last edited by

          This worked like a charm, thanks! The best solutions are the simple ones 🙂

          Running I-doIT 1.8 PRO on CentOS 6.

          1 Reply Last reply Reply Quote 0
          • creiss
            creiss i-doit Kenner last edited by

            Yes, indeed. 🙂

            NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/channel/UCK9fitbW5J1yhiDs5Dr3YQw
            Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
            i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

            1 Reply Last reply Reply Quote 0
            • First post
              Last post