{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/1800","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/1800/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/1800/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/1800/events","html_url":"https://github.com/processone/ejabberd/issues/1800","id":238476058,"number":1800,"title":"Can not connect to LDAP server","user":{"login":"tobi7695","id":18321848,"avatar_url":"https://avatars2.githubusercontent.com/u/18321848?v=3","gravatar_id":"","url":"https://api.github.com/users/tobi7695","html_url":"https://github.com/tobi7695","followers_url":"https://api.github.com/users/tobi7695/followers","following_url":"https://api.github.com/users/tobi7695/following{/other_user}","gists_url":"https://api.github.com/users/tobi7695/gists{/gist_id}","starred_url":"https://api.github.com/users/tobi7695/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobi7695/subscriptions","organizations_url":"https://api.github.com/users/tobi7695/orgs","repos_url":"https://api.github.com/users/tobi7695/repos","events_url":"https://api.github.com/users/tobi7695/events{/privacy}","received_events_url":"https://api.github.com/users/tobi7695/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-26T08:41:32Z","updated_at":"2017-06-26T09:39:46Z","closed_at":null,"body":"> What version of ejabberd are you using? \r\n16.01 \r\n\r\n> What operating system (version) are you using?\r\nUbuntu 16.04\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\npackage (Using \"apt-get install ejabberd\")\r\n\r\n\r\n> What did not work as expected? \r\nI can not connect to LDAP server with config:\r\n\r\n....\r\n##auth_method: internal\r\n.....\r\nauth_method: ldap\r\nldap_servers: \r\n  \\- \"192.168.122.229\"\r\nldap_encrypt: none\r\nldap_port: 389\r\nldap_rootdn: \"cn=admin,dc=ldapcap,dc=com\"\r\nldap_password: \"ldapadmin\"\r\nldap_base: \"o=ldapcap,dc=ldapcap,dc=com\"\r\nldap_uids:\r\n   \\- \"mail\": \"%u@ldapcap.com\"\r\nldap_filter: \"(mail=*)\"\r\n.....\r\nI used this config on ubuntu 14.04 (ejabberd - 2.1.11) -> work fine;\r\nPls help me.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/311011593","html_url":"https://github.com/processone/ejabberd/issues/1800#issuecomment-311011593","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/1800","id":311011593,"user":{"login":"tobi7695","id":18321848,"avatar_url":"https://avatars2.githubusercontent.com/u/18321848?v=3","gravatar_id":"","url":"https://api.github.com/users/tobi7695","html_url":"https://github.com/tobi7695","followers_url":"https://api.github.com/users/tobi7695/followers","following_url":"https://api.github.com/users/tobi7695/following{/other_user}","gists_url":"https://api.github.com/users/tobi7695/gists{/gist_id}","starred_url":"https://api.github.com/users/tobi7695/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobi7695/subscriptions","organizations_url":"https://api.github.com/users/tobi7695/orgs","repos_url":"https://api.github.com/users/tobi7695/repos","events_url":"https://api.github.com/users/tobi7695/events{/privacy}","received_events_url":"https://api.github.com/users/tobi7695/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T09:39:46Z","updated_at":"2017-06-26T09:39:46Z","body":"- ejabberd.log\r\n2017-06-26 16:37:06.979 [error] <0.38.0>@ejabberd_config:get_plain_terms_file:222 Cannot load /etc/ejabberd/ejabberd.yml: Syntax error on line 271 at position 2: did not find expected key\r\n\r\n- error.log\r\n2017-06-26 16:37:06.979 [error] <0.38.0>@ejabberd_config:get_plain_terms_file:222 Cannot load /etc/ejabberd/ejabberd.yml: Syntax error on line 271 at position 2: did not find expected key\r\n\r\n- crash.log\r\n2017-06-26 15:26:04 =CRASH REPORT====\r\n  crasher:\r\n    initial call: mod_http_fileserver:init/1\r\n    pid: <0.467.0>\r\n    registered_name: []\r\n    exception exit: {{error_access_docroot,<<\"/var/www/html/doc\">>,enoent},[{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,344}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}\r\n    ancestors: [ejabberd_sup,<0.38.0>]\r\n    messages: []\r\n    links: [<0.378.0>]\r\n    dictionary: []\r\n    trap_exit: false\r\n    status: running\r\n    heap_size: 376\r\n    stack_size: 27\r\n    reductions: 124\r\n  neighbours:\r\n2017-06-26 15:26:04 =CRASH REPORT====\r\n  crasher:\r\n    initial call: mod_http_fileserver:init/1\r\n    pid: <0.561.0>\r\n    registered_name: []\r\n    exception exit: {{error_access_docroot,<<\"/var/www/html/doc\">>,enoent},[{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,344}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}\r\n    ancestors: [ejabberd_sup,<0.38.0>]\r\n    messages: []\r\n    links: [<0.378.0>]\r\n    dictionary: []\r\n    trap_exit: false\r\n    status: running\r\n    heap_size: 376\r\n    stack_size: 27\r\n    reductions: 124\r\n  neighbours:"}}
{"actor":{"display_login":"tobi7695"}}