{"action":"created","issue":{"url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/69","labels_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/69/comments","events_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/69/events","html_url":"https://github.com/gheeres/node-activedirectory/issues/69","id":63270498,"number":69,"title":"\"In order to perform this operation a successful bind must be completed on the connection.\"","user":{"login":"kevinhikaruevans","id":4730591,"avatar_url":"https://avatars.githubusercontent.com/u/4730591?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhikaruevans","html_url":"https://github.com/kevinhikaruevans","followers_url":"https://api.github.com/users/kevinhikaruevans/followers","following_url":"https://api.github.com/users/kevinhikaruevans/following{/other_user}","gists_url":"https://api.github.com/users/kevinhikaruevans/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhikaruevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhikaruevans/subscriptions","organizations_url":"https://api.github.com/users/kevinhikaruevans/orgs","repos_url":"https://api.github.com/users/kevinhikaruevans/repos","events_url":"https://api.github.com/users/kevinhikaruevans/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhikaruevans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T17:32:07Z","updated_at":"2015-03-20T17:35:47Z","closed_at":"2015-03-20T17:35:32Z","body":"I'm currently trying to get a list of the users on a domain and using this:\r\n\r\n\r\n      var ad = new ActiveDirectory({ url: 'ldap://192.168.0.10',\r\n                                     baseDN: 'DC=o3international,DC=local' });\r\n\r\n      ad.findUsers('cn=*', function(err, users) {\r\n        console.log(err, users);\r\n      });\r\n\r\nHowever, it gives this error:\r\n\r\n[OperationsError: 000004DC: LdapErr: DSID-0C090727, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v23f0]\r\n\r\n\r\nHow exactly do you bind first? I've tried authenticating successfully and putting the findUsers within the authenticate callback method, but it didn't work either.\r\n"},"comment":{"url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/comments/84082721","html_url":"https://github.com/gheeres/node-activedirectory/issues/69#issuecomment-84082721","issue_url":"https://api.github.com/repos/gheeres/node-activedirectory/issues/69","id":84082721,"user":{"login":"kevinhikaruevans","id":4730591,"avatar_url":"https://avatars.githubusercontent.com/u/4730591?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhikaruevans","html_url":"https://github.com/kevinhikaruevans","followers_url":"https://api.github.com/users/kevinhikaruevans/followers","following_url":"https://api.github.com/users/kevinhikaruevans/following{/other_user}","gists_url":"https://api.github.com/users/kevinhikaruevans/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhikaruevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhikaruevans/subscriptions","organizations_url":"https://api.github.com/users/kevinhikaruevans/orgs","repos_url":"https://api.github.com/users/kevinhikaruevans/repos","events_url":"https://api.github.com/users/kevinhikaruevans/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhikaruevans/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T17:35:47Z","updated_at":"2015-03-20T17:35:47Z","body":"Nevermind. Figured it out.\r\n\r\nWas not passing in bindDN/bindCredentials (duh)."}}