Hello Amos, Sorry for the late reply . I have made changes as you said here the authentication is working fine and even blocking too is working as expected but the logging doesnt seem to work . auth_param basic program /usr/lib/squid3/basic_ldap_auth -b "dc=example,dc=com" -f "((uid=%s))" -h example.com acl ldapauth proxy_auth REQUIRED acl workhours time M T W H F 8:00-18:00 http_access deny !ldapauth http_access deny bad_url http_access deny blocked_sites workhours http_access allow ldapauth -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Unable-to-get-username-in-logs-for-access-denied-HTTP-403-tp4668460p4668496.html Sent from the Squid - Users mailing list archive at Nabble.com. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users