{"action":"created","issue":{"url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/4","repository_url":"https://api.github.com/repos/veo-labs/ldap-server-mock","labels_url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/4/comments","events_url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/4/events","html_url":"https://github.com/veo-labs/ldap-server-mock/issues/4","id":381337173,"node_id":"MDU6SXNzdWUzODEzMzcxNzM=","number":4,"title":"Throws an error moments after listening on port 3004","user":{"login":"raj206","id":42550430,"node_id":"MDQ6VXNlcjQyNTUwNDMw","avatar_url":"https://avatars0.githubusercontent.com/u/42550430?v=4","gravatar_id":"","url":"https://api.github.com/users/raj206","html_url":"https://github.com/raj206","followers_url":"https://api.github.com/users/raj206/followers","following_url":"https://api.github.com/users/raj206/following{/other_user}","gists_url":"https://api.github.com/users/raj206/gists{/gist_id}","starred_url":"https://api.github.com/users/raj206/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raj206/subscriptions","organizations_url":"https://api.github.com/users/raj206/orgs","repos_url":"https://api.github.com/users/raj206/repos","events_url":"https://api.github.com/users/raj206/events{/privacy}","received_events_url":"https://api.github.com/users/raj206/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-15T21:00:37Z","updated_at":"2018-11-19T07:14:03Z","closed_at":null,"author_association":"NONE","body":"I just followed the documentation and tried to implement it. It throws the following error moments after listening on port 3004:\r\n```\r\n➜  ldap-tester node node_modules/ldap-server-mock/server.js --conf=/tmp/ldap-server-mock-conf.json --database=/tmp/users.json\r\n\r\nLDAP server listening on port 3004\r\n\r\nevents.js:183\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nVError: Parser error for 127.0.0.1:64280: Expected 0x2: got 0x54\r\n    at Parser.<anonymous> (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/server.js:442:26)\r\n    at emitTwo (events.js:126:13)\r\n    at Parser.emit (events.js:214:7)\r\n    at Parser.write (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/messages/parser.js:107:10)\r\n    at Socket.<anonymous> (/Users/raj/Desktop/ldap-tester/node_modules/ldapjs/lib/server.js:460:16)\r\n    at emitOne (events.js:116:13)\r\n    at Socket.emit (events.js:211:7)\r\n    at addChunk (_stream_readable.js:263:12)\r\n    at readableAddChunk (_stream_readable.js:250:11)\r\n    at Socket.Readable.push (_stream_readable.js:208:10)\r\n\r\n```\r\nCan you possibly help me with this?"},"comment":{"url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/comments/439793171","html_url":"https://github.com/veo-labs/ldap-server-mock/issues/4#issuecomment-439793171","issue_url":"https://api.github.com/repos/veo-labs/ldap-server-mock/issues/4","id":439793171,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTc5MzE3MQ==","user":{"login":"maxime-beguin","id":14198159,"node_id":"MDQ6VXNlcjE0MTk4MTU5","avatar_url":"https://avatars3.githubusercontent.com/u/14198159?v=4","gravatar_id":"","url":"https://api.github.com/users/maxime-beguin","html_url":"https://github.com/maxime-beguin","followers_url":"https://api.github.com/users/maxime-beguin/followers","following_url":"https://api.github.com/users/maxime-beguin/following{/other_user}","gists_url":"https://api.github.com/users/maxime-beguin/gists{/gist_id}","starred_url":"https://api.github.com/users/maxime-beguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxime-beguin/subscriptions","organizations_url":"https://api.github.com/users/maxime-beguin/orgs","repos_url":"https://api.github.com/users/maxime-beguin/repos","events_url":"https://api.github.com/users/maxime-beguin/events{/privacy}","received_events_url":"https://api.github.com/users/maxime-beguin/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T07:14:03Z","updated_at":"2018-11-19T07:14:03Z","author_association":"CONTRIBUTOR","body":"Like i said, this project only supports **bind** messages or **search** messages. You can refer to the [LDAP RFC](https://tools.ietf.org/html/rfc4511) for more information about these messages but the easiest is to use an LDAP client like [ldapjs](https://www.npmjs.com/package/ldapjs)."}}
{"actor":{"display_login":"maxime-beguin"}}