{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-squid/issues/14","repository_url":"https://api.github.com/repos/sameersbn/docker-squid","labels_url":"https://api.github.com/repos/sameersbn/docker-squid/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-squid/issues/14/comments","events_url":"https://api.github.com/repos/sameersbn/docker-squid/issues/14/events","html_url":"https://github.com/sameersbn/docker-squid/issues/14","id":153935428,"number":14,"title":"openldap authentication","user":{"login":"kevkha","id":1807308,"avatar_url":"https://avatars.githubusercontent.com/u/1807308?v=3","gravatar_id":"","url":"https://api.github.com/users/kevkha","html_url":"https://github.com/kevkha","followers_url":"https://api.github.com/users/kevkha/followers","following_url":"https://api.github.com/users/kevkha/following{/other_user}","gists_url":"https://api.github.com/users/kevkha/gists{/gist_id}","starred_url":"https://api.github.com/users/kevkha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevkha/subscriptions","organizations_url":"https://api.github.com/users/kevkha/orgs","repos_url":"https://api.github.com/users/kevkha/repos","events_url":"https://api.github.com/users/kevkha/events{/privacy}","received_events_url":"https://api.github.com/users/kevkha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-10T06:51:53Z","updated_at":"2016-05-11T06:30:17Z","closed_at":"2016-05-11T05:36:18Z","body":"Has anyone tried to enable ldap authentication with `osixia/docker-openldap`? After successfully ldapadd and ldapsearch the user but not able to make it work with the below settings in `squid.conf`.\r\n\r\n```\r\nauth_param basic program /usr/lib/squid3/basic_ldap_auth -v 3 -Z -b \"dc=example,dc=com\" -f \"uid=%s\" -h ldap.example.com\r\nauth_param basic children 5 startup=5 idle=1\r\nauth_param basic realm Squid proxy-caching web server\r\nauth_param basic credentialsttl 8 hours\r\nacl ldap_auth proxy_auth REQUIRED\r\nhttp_access allow ldap_auth\r\n```\r\n\r\nI tested connectivity using the authentication module and it yields a hang\r\n`/usr/lib/squid3/basic_ldap_auth -v 3 -Z -b \"dc=example,dc=com\" -f \"uid=%s\" -h ldap.example.com`"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-squid/issues/comments/218373442","html_url":"https://github.com/sameersbn/docker-squid/issues/14#issuecomment-218373442","issue_url":"https://api.github.com/repos/sameersbn/docker-squid/issues/14","id":218373442,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars.githubusercontent.com/u/410147?v=3","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T06:30:17Z","updated_at":"2016-05-11T06:30:17Z","body":"Sorry for not helping you resolve the issue. Unfortunately I have no expertise dealing with LDAP.\r\nGlad that you do the issue resolved and thanks for sharing the resolution. I'm surely it will be helpful to other users :beers: "}}