{"action":"created","issue":{"url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/62","repository_url":"https://api.github.com/repos/Galexrt/docker-zulip","labels_url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/62/comments","events_url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/62/events","html_url":"https://github.com/Galexrt/docker-zulip/issues/62","id":140759579,"number":62,"title":"Ldap config question","user":{"login":"reyman","id":466329,"avatar_url":"https://avatars.githubusercontent.com/u/466329?v=3","gravatar_id":"","url":"https://api.github.com/users/reyman","html_url":"https://github.com/reyman","followers_url":"https://api.github.com/users/reyman/followers","following_url":"https://api.github.com/users/reyman/following{/other_user}","gists_url":"https://api.github.com/users/reyman/gists{/gist_id}","starred_url":"https://api.github.com/users/reyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyman/subscriptions","organizations_url":"https://api.github.com/users/reyman/orgs","repos_url":"https://api.github.com/users/reyman/repos","events_url":"https://api.github.com/users/reyman/events{/privacy}","received_events_url":"https://api.github.com/users/reyman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Galexrt/docker-zulip/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"Galexrt","id":3718398,"avatar_url":"https://avatars.githubusercontent.com/u/3718398?v=3","gravatar_id":"","url":"https://api.github.com/users/Galexrt","html_url":"https://github.com/Galexrt","followers_url":"https://api.github.com/users/Galexrt/followers","following_url":"https://api.github.com/users/Galexrt/following{/other_user}","gists_url":"https://api.github.com/users/Galexrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Galexrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galexrt/subscriptions","organizations_url":"https://api.github.com/users/Galexrt/orgs","repos_url":"https://api.github.com/users/Galexrt/repos","events_url":"https://api.github.com/users/Galexrt/events{/privacy}","received_events_url":"https://api.github.com/users/Galexrt/received_events","type":"User","site_admin":false},"milestone":null,"comments":42,"created_at":"2016-03-14T18:31:49Z","updated_at":"2016-03-26T13:41:32Z","closed_at":null,"body":"There is something i don't understand in option probably, i activate the `ZULIP_AUTH_BACKENDS: \"ZulipLDAPAuthBackend\"` and i use `SETTING_AUTH_LDAP_USER_SEARCH: \"LDAPSearch(\\\"ou=Users,dc=comnmodel,dc=org\\\",ldap.SCOPE_SUBTREE,\\\"(uid=%(user)s)\\\")\"` to find the correct user in LDAP. \r\n\r\nSo, i don't use the email to login.\r\n\r\nWhen i look to login page, there is only email / password login ... so how can i log correctly ? It seems the actual login page don't correspond to Ldap login page, isn't it ?\r\n"},"comment":{"url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/comments/201825559","html_url":"https://github.com/Galexrt/docker-zulip/issues/62#issuecomment-201825559","issue_url":"https://api.github.com/repos/Galexrt/docker-zulip/issues/62","id":201825559,"user":{"login":"reyman","id":466329,"avatar_url":"https://avatars.githubusercontent.com/u/466329?v=3","gravatar_id":"","url":"https://api.github.com/users/reyman","html_url":"https://github.com/reyman","followers_url":"https://api.github.com/users/reyman/followers","following_url":"https://api.github.com/users/reyman/following{/other_user}","gists_url":"https://api.github.com/users/reyman/gists{/gist_id}","starred_url":"https://api.github.com/users/reyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyman/subscriptions","organizations_url":"https://api.github.com/users/reyman/orgs","repos_url":"https://api.github.com/users/reyman/repos","events_url":"https://api.github.com/users/reyman/events{/privacy}","received_events_url":"https://api.github.com/users/reyman/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T13:41:32Z","updated_at":"2016-03-26T13:41:32Z","body":"@Galexrt I try with this change, with no amelioration :/\r\n\r\n```\r\n  SETTING_AUTH_LDAP_SERVER_URI: \"ldap://51.255.47.40:389\"\r\n    SETTING_AUTH_LDAP_BIND_DN: \"cn=admin,dc=comnmodel,dc=org\"\r\n    SETTING_AUTH_LDAP_BIND_PASSWORD: \"xxx\"\r\n    SETTING_AUTH_LDAP_USER_SEARCH: \"LDAPSearch(\\\"ou=Users,dc=comnmodel,dc=org\\\",ldap.SCOPE_SUBTREE,\\\"(mail=%(user)s)\\\")\"\r\n    SETTING_LDAP_APPEND_DOMAIN: \"None\"\r\n```\r\n    "}}