{"action":"opened","issue":{"url":"https://api.github.com/repos/JackAdams/meteor-accounts-ldap/issues/5","labels_url":"https://api.github.com/repos/JackAdams/meteor-accounts-ldap/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/JackAdams/meteor-accounts-ldap/issues/5/comments","events_url":"https://api.github.com/repos/JackAdams/meteor-accounts-ldap/issues/5/events","html_url":"https://github.com/JackAdams/meteor-accounts-ldap/issues/5","id":103246760,"number":5,"title":"Error: Future resolved more than once","user":{"login":"cope","id":112515,"avatar_url":"https://avatars.githubusercontent.com/u/112515?v=3","gravatar_id":"","url":"https://api.github.com/users/cope","html_url":"https://github.com/cope","followers_url":"https://api.github.com/users/cope/followers","following_url":"https://api.github.com/users/cope/following{/other_user}","gists_url":"https://api.github.com/users/cope/gists{/gist_id}","starred_url":"https://api.github.com/users/cope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cope/subscriptions","organizations_url":"https://api.github.com/users/cope/orgs","repos_url":"https://api.github.com/users/cope/repos","events_url":"https://api.github.com/users/cope/events{/privacy}","received_events_url":"https://api.github.com/users/cope/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T11:52:43Z","updated_at":"2015-08-26T11:52:43Z","closed_at":null,"body":"So, I get a \"User successfully retrieved from LDAP server\", but then right after the below error :(\r\n\r\nI am using:\r\n\r\n\tLDAP.generateSettings = function (request) {\r\n\t\treturn {\r\n\t\t\t\"serverDn\": \"DC=mycompany,DC=com\",\r\n\t\t\t\"serverUrl\": \"ldap://111.111.111.11\",\r\n\t\t\t\"whiteListedFields\": [\"displayName\", \"mail\", \"memberOf\"],\r\n\t\t\t\"autopublishFields\": [\"displayName\", \"mail\", \"memberOf\"]\r\n\t\t};\r\n\t}\r\n\r\nAnd this is the error:\r\n\r\n\tI20150826-13:45:12.114(2)? User successfully retrieved from LDAP server\r\n\tW20150826-13:45:12.164(2)? (STDERR)\r\n\tW20150826-13:45:12.165(2)? (STDERR) C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.4\\mt-os.win_32\\dev_bundle\\server-lib\\node_modules\\fibers\\future.js:226\r\n\tW20150826-13:45:12.165(2)? (STDERR)                     throw new Error('Future resolved more than once');\r\n\tW20150826-13:45:12.165(2)? (STDERR)                           ^\r\n\tW20150826-13:45:12.165(2)? (STDERR) Error: Future resolved more than once\r\n\tW20150826-13:45:12.165(2)? (STDERR)     at Object.Future.return (C:\\Users\\cope\\AppData\\Local\\.meteor\\package-tool\\1.1.4\\mt-os.windows.x86_32\\dev_bundle\\server-lib\\node_modules\\fibers\\future.js:226:10)\r\n\tW20150826-13:45:12.165(2)? (STDERR)     at EventEmitter.<anonymous> (packages/babrahams:accounts-ldap/ldap_serve:1)\r\n\tW20150826-13:45:12.165(2)? (STDERR)     at EventEmitter.emit (events.js:95:17)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at _done (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\babrahams_accap\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\client\\client.js:785:22)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at messageCallback (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\babccounts-ldap\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\client\\client.js:858:14)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at Parser.onMessage (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\baaccounts-ldap\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\client\\client.js:199:12)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at Parser.emit (events.js:95:17)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at Parser.write (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\babrahunts-ldap\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\messages\\parser.js:105:8)\r\n\tW20150826-13:45:12.166(2)? (STDERR)     at end (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\babrahams_accou\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\messages\\parser.js:71:19)\r\n\tW20150826-13:45:12.167(2)? (STDERR)     at Parser.write (C:\\Users\\cope\\AppData\\Local\\.meteor\\packages\\babrahunts-ldap\\0.3.1\\npm\\node_modules\\ldapjs\\lib\\messages\\parser.js:107:10)\r\n\t=> Exited with code: 8"}}