{"action":"created","issue":{"url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/4","repository_url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap","labels_url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/4/comments","events_url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/4/events","html_url":"https://github.com/quinot/ansible-plugin-lookup_ldap/pull/4","id":135925286,"number":4,"title":"Add a `tls_reqcert` Option to Lookup Context","user":{"login":"tst-ppenev","id":17442305,"avatar_url":"https://avatars.githubusercontent.com/u/17442305?v=3","gravatar_id":"","url":"https://api.github.com/users/tst-ppenev","html_url":"https://github.com/tst-ppenev","followers_url":"https://api.github.com/users/tst-ppenev/followers","following_url":"https://api.github.com/users/tst-ppenev/following{/other_user}","gists_url":"https://api.github.com/users/tst-ppenev/gists{/gist_id}","starred_url":"https://api.github.com/users/tst-ppenev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tst-ppenev/subscriptions","organizations_url":"https://api.github.com/users/tst-ppenev/orgs","repos_url":"https://api.github.com/users/tst-ppenev/repos","events_url":"https://api.github.com/users/tst-ppenev/events{/privacy}","received_events_url":"https://api.github.com/users/tst-ppenev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-24T01:53:07Z","updated_at":"2016-02-26T10:44:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/pulls/4","html_url":"https://github.com/quinot/ansible-plugin-lookup_ldap/pull/4","diff_url":"https://github.com/quinot/ansible-plugin-lookup_ldap/pull/4.diff","patch_url":"https://github.com/quinot/ansible-plugin-lookup_ldap/pull/4.patch"},"body":"The `ldap_lookup_config` and lookup context dictionaries can now have an option called `tls_reqcert`, which corresponds to [`ldap_set_option`(3)](http://www.openldap.org/software/man.cgi?query=ldap_set_option&sektion=3&apropos=0&manpath=OpenLDAP+2.4-Release)s 'LDAP_OPT_X_TLS_REQUIRE_CERT' option.\r\n\r\nFor example, setting `tls_reqcert` to `allow` enables you to connect to an LDAP with a self-signed certificate (i.e., which is not signed by a certificate authority trusted by the client) over TLS, without having to modify configuration files, such as `ldap.conf`."},"comment":{"url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/comments/189216173","html_url":"https://github.com/quinot/ansible-plugin-lookup_ldap/pull/4#issuecomment-189216173","issue_url":"https://api.github.com/repos/quinot/ansible-plugin-lookup_ldap/issues/4","id":189216173,"user":{"login":"quinot","id":1678806,"avatar_url":"https://avatars.githubusercontent.com/u/1678806?v=3","gravatar_id":"","url":"https://api.github.com/users/quinot","html_url":"https://github.com/quinot","followers_url":"https://api.github.com/users/quinot/followers","following_url":"https://api.github.com/users/quinot/following{/other_user}","gists_url":"https://api.github.com/users/quinot/gists{/gist_id}","starred_url":"https://api.github.com/users/quinot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinot/subscriptions","organizations_url":"https://api.github.com/users/quinot/orgs","repos_url":"https://api.github.com/users/quinot/repos","events_url":"https://api.github.com/users/quinot/events{/privacy}","received_events_url":"https://api.github.com/users/quinot/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T10:44:58Z","updated_at":"2016-02-26T10:44:58Z","body":"OK, let's merge then! Change looks good to me. (The detailed comments are particularly appreciated, thanks!) Don't hesitate to submit further pull requests. Also feel free to include a README change crediting your contributions!"}}