{"action":"opened","issue":{"url":"https://api.github.com/repos/frjaraur/CARTODB-LAB/issues/1","repository_url":"https://api.github.com/repos/frjaraur/CARTODB-LAB","labels_url":"https://api.github.com/repos/frjaraur/CARTODB-LAB/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/frjaraur/CARTODB-LAB/issues/1/comments","events_url":"https://api.github.com/repos/frjaraur/CARTODB-LAB/issues/1/events","html_url":"https://github.com/frjaraur/CARTODB-LAB/issues/1","id":131986041,"number":1,"title":" cartodb:ldap:test_ldap_connection not working","user":{"login":"frjaraur","id":381882,"avatar_url":"https://avatars.githubusercontent.com/u/381882?v=3","gravatar_id":"","url":"https://api.github.com/users/frjaraur","html_url":"https://github.com/frjaraur","followers_url":"https://api.github.com/users/frjaraur/followers","following_url":"https://api.github.com/users/frjaraur/following{/other_user}","gists_url":"https://api.github.com/users/frjaraur/gists{/gist_id}","starred_url":"https://api.github.com/users/frjaraur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frjaraur/subscriptions","organizations_url":"https://api.github.com/users/frjaraur/orgs","repos_url":"https://api.github.com/users/frjaraur/repos","events_url":"https://api.github.com/users/frjaraur/events{/privacy}","received_events_url":"https://api.github.com/users/frjaraur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-07T17:02:42Z","updated_at":"2016-02-07T17:02:42Z","closed_at":null,"body":"LDAP is up and can be verified root@af1e3f5f5548:/CARTODB/cartodb# ping ldap PING ldap (172.17.0.2) 56(84) bytes of data. 64 bytes from ldap (172.17.0.2): icmp_req=1 ttl=64 time=0.046 ms 64 bytes from ldap (172.17.0.2): icmp_req=2 ttl=64 time=0.037 ms --- ldap ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.037/0.041/0.046/0.007 ms\r\n\r\nroot@af1e3f5f5548:/CARTODB/cartodb# ldapsearch -xLLL -h ldap -b \"dc=cartodb,dc=com\" \"(objectClass=organizationalRole)\" dn: cn=admin,dc=cartodb,dc=com objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator\r\n\r\ndn: cn=ldap_conn_user,dc=cartodb,dc=com objectClass: simpleSecurityObject objectClass: organizationalRole cn: ldap_conn_user description: CartoDB LDAP conn_user\r\n\r\nBut LDAP test (test_ldap_connection) is not working ...\r\n\r\nroot@af1e3f5f5548:/CARTODB/cartodb# echo $HOST $PORT $CONNECTION_USER $CONNECTION_PASSWORD $DOMAIN_BASES $USER_ID_FIELD $USERNAME_FIELD ldap 389 ldap_conn_user changeme cartodb.com user_id user_name\r\n\r\nroot@af1e3f5f5548:/CARTODB/cartodb# bundle exec rake cartodb:ldap:test_ldap_connection\r\nERROR: {:code=>34, :message=>\"Invalid DN Syntax\", :error_message=>nil, :matched_dn=>\"\"} root@af1e3f5f5548:/CARTODB/cartodb# bundle exec rake cartodb:ldap:test_ldap_connection\r\nroot@af1e3f5f5548:/CARTODB/cartodb#"}}