Giter Club home page Giter Club logo

Comments (6)

 avatar commented on June 28, 2024 2

I'm hitting the same issue.

The command line I used was
.\Query.ps1 -search "cn=administrateurs"
and the error I got was

[!]Neo4j returned an error:
Unable to deserialize request: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value
 at [Source: HttpInputOverHTTP@3d88bcf1[c=201,q=0,[0]=null,s=STREAM]; line: 1, column: 33]
Exiting

My Active Directory is setup in french, this may be related.

from ad-control-paths.

gdedrouas avatar gdedrouas commented on June 28, 2024

What is the command line ?

from ad-control-paths.

novasurf74 avatar novasurf74 commented on June 28, 2024

Hi,

I'm hitting the same issue that Cyrtiac.
But my command is .\Query.ps1 -quick -neo4jPort 7475

Can you help us?

Thank's

from ad-control-paths.

spicyjuice avatar spicyjuice commented on June 28, 2024

Hi,
I have the same issue :(
Any idea?

Thx

from ad-control-paths.

mdoidy avatar mdoidy commented on June 28, 2024

I had the same issue and I managed to fix it by removing all the return chars within each $Body=... line

from ad-control-paths.

IamPhilG avatar IamPhilG commented on June 28, 2024

I had the same issue
The removal of return chars were not enough even if it has been added to the query.ps1 script.
I then rewrote the lines 98 to 105 in query.ps1 as followed:

$Body = @" 
{"statements":[{"statement" : "MATCH(n) WHERE n.name STARTS WITH `$searchedName WITH {id:ID(n),name:n.name} AS principal RETURN principal","parameters" : {"searchedName" : "$search"} }]}
"@ -replace "`r`n",""

And I have no more errors

from ad-control-paths.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.