You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just followed the documentation and tried to implement it. It throws the following error moments after listening on port 3004:
➜ ldap-tester node node_modules/ldap-server-mock/server.js --conf=/tmp/ldap-server-mock-conf.json --database=/tmp/users.json
LDAP server listening on port 3004
events.js:183
throw er; // Unhandled 'error' event
^
VError: Parser error for 127.0.0.1:64280: Expected 0x2: got 0x54
at Parser.<anonymous> (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/server.js:442:26)
at emitTwo (events.js:126:13)
at Parser.emit (events.js:214:7)
at Parser.write (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/messages/parser.js:107:10)
at Socket.<anonymous> (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/server.js:460:16)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
Can you possibly help me with this?
The text was updated successfully, but these errors were encountered:
Like i said, this project only supports bind messages or search messages. You can refer to the LDAP RFC for more information about these messages but the easiest is to use an LDAP client like ldapjs.
I just followed the documentation and tried to implement it. It throws the following error moments after listening on port 3004:
Can you possibly help me with this?
The text was updated successfully, but these errors were encountered: