{"action":"created","issue":{"url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/69","labels_url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/69/comments","events_url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/69/events","html_url":"https://github.com/rroemhild/docker-ejabberd/pull/69","id":108980978,"number":69,"title":"Auth method ldap","user":{"login":"rroemhild","id":78305,"avatar_url":"https://avatars.githubusercontent.com/u/78305?v=3","gravatar_id":"","url":"https://api.github.com/users/rroemhild","html_url":"https://github.com/rroemhild","followers_url":"https://api.github.com/users/rroemhild/followers","following_url":"https://api.github.com/users/rroemhild/following{/other_user}","gists_url":"https://api.github.com/users/rroemhild/gists{/gist_id}","starred_url":"https://api.github.com/users/rroemhild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rroemhild/subscriptions","organizations_url":"https://api.github.com/users/rroemhild/orgs","repos_url":"https://api.github.com/users/rroemhild/repos","events_url":"https://api.github.com/users/rroemhild/events{/privacy}","received_events_url":"https://api.github.com/users/rroemhild/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-29T23:33:12Z","updated_at":"2015-09-30T16:54:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rroemhild/docker-ejabberd/pulls/69","html_url":"https://github.com/rroemhild/docker-ejabberd/pull/69","diff_url":"https://github.com/rroemhild/docker-ejabberd/pull/69.diff","patch_url":"https://github.com/rroemhild/docker-ejabberd/pull/69.patch"},"body":"Add LDAP authentication support as requested in #67. So far I've only tested this with the following docker-compose file:\r\n\r\n```\r\nldap:\r\n    image: rroemhild/test-openldap\r\n\r\nejabberd:\r\n    build: .\r\n    ports:\r\n        - 5222:5222\r\n        - 5280:5280\r\n    links:\r\n        - ldap\r\n    environment:\r\n        - \"XMPP_DOMAIN=planetexpress.com\"\r\n        - \"EJABBERD_ADMIN=professor@planetexpress.com\"\r\n        - \"SKIP_MODULES_UPDATE=true\"\r\n        - \"AUTH_METHOD=ldap\"\r\n        - \"EJABBERD_LDAP_SERVERS=ldap\"\r\n        - \"EJABBERD_LDAP_BASE=dc=planetexpress,dc=com\"\r\n```\r\n\r\n@flecno can you test this with your setup please?\r\n\r\nShould we also support `mod_vcard_ldap` and `mod_shared_roster_ldap` with this container image?"},"comment":{"url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/comments/144474551","html_url":"https://github.com/rroemhild/docker-ejabberd/pull/69#issuecomment-144474551","issue_url":"https://api.github.com/repos/rroemhild/docker-ejabberd/issues/69","id":144474551,"user":{"login":"rroemhild","id":78305,"avatar_url":"https://avatars.githubusercontent.com/u/78305?v=3","gravatar_id":"","url":"https://api.github.com/users/rroemhild","html_url":"https://github.com/rroemhild","followers_url":"https://api.github.com/users/rroemhild/followers","following_url":"https://api.github.com/users/rroemhild/following{/other_user}","gists_url":"https://api.github.com/users/rroemhild/gists{/gist_id}","starred_url":"https://api.github.com/users/rroemhild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rroemhild/subscriptions","organizations_url":"https://api.github.com/users/rroemhild/orgs","repos_url":"https://api.github.com/users/rroemhild/repos","events_url":"https://api.github.com/users/rroemhild/events{/privacy}","received_events_url":"https://api.github.com/users/rroemhild/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T16:54:34Z","updated_at":"2015-09-30T16:54:34Z","body":"You are right, thanks!"}}