{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/node-ldapjs/issues/474","repository_url":"https://api.github.com/repos/joyent/node-ldapjs","labels_url":"https://api.github.com/repos/joyent/node-ldapjs/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/joyent/node-ldapjs/issues/474/comments","events_url":"https://api.github.com/repos/joyent/node-ldapjs/issues/474/events","html_url":"https://github.com/joyent/node-ldapjs/issues/474","id":313104502,"node_id":"MDU6SXNzdWUzMTMxMDQ1MDI=","number":474,"title":"ldaps issue with any node js versions","user":{"login":"eshovogiwah","id":38265172,"node_id":"MDQ6VXNlcjM4MjY1MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/38265172?v=4","gravatar_id":"","url":"https://api.github.com/users/eshovogiwah","html_url":"https://github.com/eshovogiwah","followers_url":"https://api.github.com/users/eshovogiwah/followers","following_url":"https://api.github.com/users/eshovogiwah/following{/other_user}","gists_url":"https://api.github.com/users/eshovogiwah/gists{/gist_id}","starred_url":"https://api.github.com/users/eshovogiwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshovogiwah/subscriptions","organizations_url":"https://api.github.com/users/eshovogiwah/orgs","repos_url":"https://api.github.com/users/eshovogiwah/repos","events_url":"https://api.github.com/users/eshovogiwah/events{/privacy}","received_events_url":"https://api.github.com/users/eshovogiwah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":62,"created_at":"2018-04-10T21:59:36Z","updated_at":"2018-11-08T08:20:00Z","closed_at":"2018-05-12T15:56:45Z","author_association":"NONE","body":"For some reason I am not able to authenticate securely with AD. I am able to do ldap but not ldaps.\r\n\r\nI see two type of errors:\r\n1. TypeError: Cannot read property 'on' of undefined\r\n\r\n2. Uncaught Exception: unable to get local issuer certificate\r\n\r\nI am currently trying Node v8"},"comment":{"url":"https://api.github.com/repos/joyent/node-ldapjs/issues/comments/436910303","html_url":"https://github.com/joyent/node-ldapjs/issues/474#issuecomment-436910303","issue_url":"https://api.github.com/repos/joyent/node-ldapjs/issues/474","id":436910303,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjkxMDMwMw==","user":{"login":"sridharksetti","id":44856772,"node_id":"MDQ6VXNlcjQ0ODU2Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/44856772?v=4","gravatar_id":"","url":"https://api.github.com/users/sridharksetti","html_url":"https://github.com/sridharksetti","followers_url":"https://api.github.com/users/sridharksetti/followers","following_url":"https://api.github.com/users/sridharksetti/following{/other_user}","gists_url":"https://api.github.com/users/sridharksetti/gists{/gist_id}","starred_url":"https://api.github.com/users/sridharksetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sridharksetti/subscriptions","organizations_url":"https://api.github.com/users/sridharksetti/orgs","repos_url":"https://api.github.com/users/sridharksetti/repos","events_url":"https://api.github.com/users/sridharksetti/events{/privacy}","received_events_url":"https://api.github.com/users/sridharksetti/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T08:20:00Z","updated_at":"2018-11-08T08:20:00Z","author_association":"NONE","body":"Thanks for the prompt response.\r\nI haven't downgraded/upgraded the version..\r\nJust tried by giving certificates in tlsOptions\r\n![image](https://user-images.githubusercontent.com/44856772/48185831-60926900-e38a-11e8-957d-b46d030ccfb7.png)\r\n one error was fixed \r\nNext found that close socket is returning unset in client.js, so I modified client.js file to set closeSocket value with \"socket\" directly as shown below.\r\n![image](https://user-images.githubusercontent.com/44856772/48185758-21fcae80-e38a-11e8-812f-8a35ac1b58e7.png)\r\nNo idea what is happened inside, but the issue was resolved and getting authentication passed.\r\n\r\nCan you suggest, is it a correct fix?."}}
{"actor":{"display_login":"sridharksetti"}}