{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8462","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8462/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8462/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8462/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/8462","id":264570072,"number":8462,"title":"LDAP login not possible since 0.59.0-rc.13","user":{"login":"TwizzyDizzy","id":179595,"avatar_url":"https://avatars0.githubusercontent.com/u/179595?v=4","gravatar_id":"","url":"https://api.github.com/users/TwizzyDizzy","html_url":"https://github.com/TwizzyDizzy","followers_url":"https://api.github.com/users/TwizzyDizzy/followers","following_url":"https://api.github.com/users/TwizzyDizzy/following{/other_user}","gists_url":"https://api.github.com/users/TwizzyDizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/TwizzyDizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwizzyDizzy/subscriptions","organizations_url":"https://api.github.com/users/TwizzyDizzy/orgs","repos_url":"https://api.github.com/users/TwizzyDizzy/repos","events_url":"https://api.github.com/users/TwizzyDizzy/events{/privacy}","received_events_url":"https://api.github.com/users/TwizzyDizzy/received_events","type":"User","site_admin":false},"labels":[{"id":314075125,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/subj:%20%20Auth%20-%20LDAP","name":"subj:  Auth - LDAP","color":"5319e7","default":false},{"id":213300653,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20bug","name":"type: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2017-10-11T12:39:04Z","updated_at":"2017-10-19T06:33:00Z","closed_at":null,"author_association":"NONE","body":"### Description:\r\n\r\nLDAP login was possbile up until 0.59.0-rc.12, now it is not possible anymore (see logfiles below). My field mapping is like this: `{\"cn\":\"name\", \"mail\":\"email\"}`. I have set no default domain (and do not want to).\r\n\r\nI suspect https://github.com/RocketChat/Rocket.Chat/pull/8457 to be the cause of this issue.\r\n\r\n### Server Setup Information:\r\n\r\n* Version of Rocket.Chat Server: 0.59.0-rc.13\r\n* Operating System: Oracle Linux 7.4\r\n* Deployment Method(snap/docker/tar/etc): tar\r\n* Number of Running Instances: 1\r\n* DB Replicaset Oplog: false\r\n* Node Version: 4.8.4\r\n\r\n### Steps to Reproduce:\r\n\r\n1. Login with LDAP flagged user\r\n\r\n### Expected behavior:\r\n\r\nLogin should be successful\r\n\r\n### Actual behavior:\r\n\r\nLogin **is not** successful\r\n\r\n### Relevant logs:\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: {\"name\":\"ldapjs\",\"component\":\"client\",\"hostname\":\"dev-chat\",\"pid\":72835,\"clazz\":\"Client\",\"ldap_id\":\"10__ldaps://my.ldap.host:636\",\"level\":20,\"msg\":\"connected after 1 attempt(s)\",\"time\":\"2017-10-11T12:25:20.462Z\",\"v\":0}\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: rocketchat_logger rocketchat_logger.js:375 LDAPSync ➔ error { [Error: LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in LDAP Settings? [LDAP-login-error]]\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: isClientSafe: true,\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: error: 'LDAP-login-error',\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: reason: 'LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in LDAP Settings?',\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: details: undefined,\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: message: 'LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in LDAP Settings? [LDAP-login-error]',\r\n    Oct 11 14:25:20 dev-chat RocketChat[72835]: errorType: 'Meteor.Error' }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/337812624","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/8462#issuecomment-337812624","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8462","id":337812624,"user":{"login":"johnyb0y","id":12081528,"avatar_url":"https://avatars1.githubusercontent.com/u/12081528?v=4","gravatar_id":"","url":"https://api.github.com/users/johnyb0y","html_url":"https://github.com/johnyb0y","followers_url":"https://api.github.com/users/johnyb0y/followers","following_url":"https://api.github.com/users/johnyb0y/following{/other_user}","gists_url":"https://api.github.com/users/johnyb0y/gists{/gist_id}","starred_url":"https://api.github.com/users/johnyb0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnyb0y/subscriptions","organizations_url":"https://api.github.com/users/johnyb0y/orgs","repos_url":"https://api.github.com/users/johnyb0y/repos","events_url":"https://api.github.com/users/johnyb0y/events{/privacy}","received_events_url":"https://api.github.com/users/johnyb0y/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T06:33:00Z","updated_at":"2017-10-19T06:33:00Z","author_association":"NONE","body":"This update may ruin the day of many poor admins. At least put a big red notification on the Downloads page to warn people. "}}
{"actor":{"display_login":"johnyb0y"}}