{"id":71,"date":"2017-10-10T06:23:00","date_gmt":"2017-10-10T06:23:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/squid-ntlm-auth-howto"},"modified":"2017-10-10T11:48:03","modified_gmt":"2017-10-10T11:48:03","slug":"squid-ntlm-auth-howto","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/squid\/squid-ntlm-auth-howto","title":{"rendered":"Squid NTLM Authentication (NTLM_Auth)"},"content":{"rendered":"<p>How to enable NTLM Authentication in in squid proxy server for Windows Desktop. Active Directory Winbind Authentication Methods.<\/p>\n<div style=\"font-family: inherit;\"><\/div>\n<h3 style=\"font-family: inherit;\"><b><span style=\"text-decoration: underline;\">Squid NTLM_Auth<\/span><br \/>\n<\/b><\/h3>\n<div style=\"font-family: inherit;\">\u00a0Configure samba with winbind support<\/div>\n<div style=\"font-family: inherit;\"><\/div>\n<div style=\"font-family: inherit;\">\u00a0Edit\u00a0 squid.conf and add the following lines<\/div>\n<div style=\"font-family: inherit;\"><\/div>\n<pre style=\"font-family: inherit;\"><b>auth_param ntlm program \/usr\/bin\/ntlm_auth --helper-protocol=squid-2.5-ntlmssp<\/b>\r\n <b>auth_param basic program \/usr\/bin\/ntlm_auth --helper-protocol=squid-2.5-basic<\/b>\r\n <b>auth_param basic realm Squid Proxy server<\/b>\r\n <b>auth_param basic credentialsttl 2 hour<\/b>\r\n <b>auth_param basic children 5<\/b>\r\n <b>auth_param basic casesensitive off<\/b>\r\n <b>auth_param ntlm children 20<\/b>\r\n <b>authenticate_cache_garbage_interval 10 seconds<\/b>\r\n\r\n<b>acl ntlm_users proxy_auth REQUIRED<\/b>\r\n<b>\r\n http_access allow ntlm_users\r\n http_access deny all<\/b><\/pre>\n<div style=\"font-family: Arial,Helvetica,sans-serif;\"><\/div>\n<div style=\"font-family: Arial,Helvetica,sans-serif;\">Restart Squid proxy server<\/div>\n<div style=\"font-family: Arial,Helvetica,sans-serif;\"><\/div>\n<div style=\"font-family: Arial,Helvetica,sans-serif;\"><b>#service squid restart<br \/>\n<\/b><\/div>\n<div style=\"font-family: inherit;\"><\/div>\n<div style=\"font-family: inherit;\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to enable NTLM Authentication in in squid proxy server for Windows Desktop. Active Directory Winbind Authentication Methods. Squid NTLM_Auth \u00a0Configure samba with winbind support \u00a0Edit\u00a0 squid.conf and add the&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/squid\/squid-ntlm-auth-howto\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,129,84],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/71"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":5,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":676,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/71\/revisions\/676"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}