Comments (2)
Hi!
@xx2new : As the error says your users.json file doesn't seem to be a valid JSON file (Error: Invalid arguments: /tmp/users.json: Unexpected token [ in JSON at position 119
)
from ldap-server-mock.
Hi @maxime-beguin, I had the same error in my server.conf
. I solved it by putting the server config into an array :
[
{
"port": 3004,
"userLoginAttribute": "cn",
"searchBase": "dc=test",
"searchFilter": "(&(objectclass=person)(cn={{username}}))"
}
]
It seems to do the trick :
LDAP server listening on port 3004
but I'm not sure if it's the good fix.
from ldap-server-mock.
Related Issues (14)
- file json HOT 1
- Need help with some examples of searching a user HOT 3
- I want to authenticate user/pass for client
- Can we search by multiple criteria HOT 1
- Please add basic authentication support to LDAP mock server HOT 3
- Start programatically HOT 15
- Mock returns data that it should not when searching by dn
- Throws an error moments after listening on port 3004 HOT 4
- installation instructions HOT 1
- File path is relative to the executable directory instead of the directory node executes from... HOT 2
- Error: Invalid arguments: /data/ldap-server-mock-conf.json: Unexpected token / in JSON at position 18 HOT 3
- Add example command using common ldap client HOT 2
- Manipulate LDAP search filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldap-server-mock.