{"action":"created","issue":{"url":"https://api.github.com/repos/jasonmunro/cypht/issues/119","repository_url":"https://api.github.com/repos/jasonmunro/cypht","labels_url":"https://api.github.com/repos/jasonmunro/cypht/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/jasonmunro/cypht/issues/119/comments","events_url":"https://api.github.com/repos/jasonmunro/cypht/issues/119/events","html_url":"https://github.com/jasonmunro/cypht/issues/119","id":179413536,"number":119,"title":"LDAP addressbook not working","user":{"login":"chlarsen","id":2879565,"avatar_url":"https://avatars.githubusercontent.com/u/2879565?v=3","gravatar_id":"","url":"https://api.github.com/users/chlarsen","html_url":"https://github.com/chlarsen","followers_url":"https://api.github.com/users/chlarsen/followers","following_url":"https://api.github.com/users/chlarsen/following{/other_user}","gists_url":"https://api.github.com/users/chlarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/chlarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chlarsen/subscriptions","organizations_url":"https://api.github.com/users/chlarsen/orgs","repos_url":"https://api.github.com/users/chlarsen/repos","events_url":"https://api.github.com/users/chlarsen/events{/privacy}","received_events_url":"https://api.github.com/users/chlarsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jasonmunro/cypht/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jasonmunro/cypht/labels/ldap_contacts","name":"ldap_contacts","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"jasonmunro","id":3793556,"avatar_url":"https://avatars.githubusercontent.com/u/3793556?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmunro","html_url":"https://github.com/jasonmunro","followers_url":"https://api.github.com/users/jasonmunro/followers","following_url":"https://api.github.com/users/jasonmunro/following{/other_user}","gists_url":"https://api.github.com/users/jasonmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmunro/subscriptions","organizations_url":"https://api.github.com/users/jasonmunro/orgs","repos_url":"https://api.github.com/users/jasonmunro/repos","events_url":"https://api.github.com/users/jasonmunro/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmunro/received_events","type":"User","site_admin":false},"assignees":[{"login":"jasonmunro","id":3793556,"avatar_url":"https://avatars.githubusercontent.com/u/3793556?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmunro","html_url":"https://github.com/jasonmunro","followers_url":"https://api.github.com/users/jasonmunro/followers","following_url":"https://api.github.com/users/jasonmunro/following{/other_user}","gists_url":"https://api.github.com/users/jasonmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmunro/subscriptions","organizations_url":"https://api.github.com/users/jasonmunro/orgs","repos_url":"https://api.github.com/users/jasonmunro/repos","events_url":"https://api.github.com/users/jasonmunro/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmunro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":42,"created_at":"2016-09-27T07:10:27Z","updated_at":"2016-10-21T15:53:13Z","closed_at":null,"body":"Dear Jason,\r\nI have finally had some time to look into the LDAP addressbook. \r\nHere are my settings:\r\n````\r\n;[Personal]\r\n[Corporate]\r\n\r\n; LDAP Server hostname or IP address\r\n;server=\"localhost\"\r\nserver=\"ldap.jail.vlan\"\r\n\r\n; Flag to enable or disable TLS connections\r\nenable_tls=true\r\n\r\n; Port to connect to\r\nport=\"389\"\r\n\r\n; Base DN\r\n;base_dn=\"dc=example,dc=com\"\r\nbase_dn=\"ou=People,o=[organisation]\"\r\n\r\n; Search filter\r\n;search_term=\"objectclass=inetOrgPerson\"\r\nsearch_term=\"objectclass=inetOrgPerson\"   <-- will add more filters later\r\n\r\n; Flag to enable user binding. Anonymous binding is used when set to false\r\n;auth=false\r\nauth=true  <-- not sure, whether I need this, because the user i obviously logged in, albeit via IMAP\r\n\r\n; Global username and password to bind with if auth is set to true. If left\r\n; blank, users will have a setting on the Settings -> Site page for this\r\n; connection to enter their own\r\n;user=\"\"\r\nuser=\"cn=LDAPReader,ou=Roles,o=[organisation]\";\r\n;pass=\"\"\r\npass=\"[LDAPReader password]\"\r\n\r\n; Object classes for the addressbook entries\r\nobjectclass[]=\"top\"\r\nobjectclass[]=\"person\"\r\nobjectclass[]=\"organizationalperson\"\r\nobjectclass[]=\"inetorgperson\"    <-- what is the function of these entries?\r\n\r\n; Flag to allow editing of the addressbook contents\r\n;read_write=true\r\nread_write=false\r\n````\r\nThe OpenLDAP log does not show - - - anything. PHP has access to LDAP; I use this one (http://ltb-project.org/wiki/documentation/self-service-password) in the same FreeBSD jail.\r\nProviding higher-level privileges by using a more powerful LDAP user does not make any difference either.\r\nI also tried, in sync with the IMAP and SMTP settings, to disable TLS (because it may be for SSL only?), and tried port 636 for SSL with TLS enabled. No joy.\r\nAny thoughts?\r\nThanks a lot!\r\nChris"},"comment":{"url":"https://api.github.com/repos/jasonmunro/cypht/issues/comments/255414839","html_url":"https://github.com/jasonmunro/cypht/issues/119#issuecomment-255414839","issue_url":"https://api.github.com/repos/jasonmunro/cypht/issues/119","id":255414839,"user":{"login":"jasonmunro","id":3793556,"avatar_url":"https://avatars.githubusercontent.com/u/3793556?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmunro","html_url":"https://github.com/jasonmunro","followers_url":"https://api.github.com/users/jasonmunro/followers","following_url":"https://api.github.com/users/jasonmunro/following{/other_user}","gists_url":"https://api.github.com/users/jasonmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmunro/subscriptions","organizations_url":"https://api.github.com/users/jasonmunro/orgs","repos_url":"https://api.github.com/users/jasonmunro/repos","events_url":"https://api.github.com/users/jasonmunro/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmunro/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T15:53:13Z","updated_at":"2016-10-21T15:53:13Z","body":"Changes are in that should fix the auto-complete problem on the compose page. If you could update and test it out that would be great!"}}
{"actor":{"display_login":"jasonmunro"}}