FreeBSD4.5下Squid 代理服务器配置samba认证心得(1) 网上关于squid的文章已经很多了,但是,关于Squid 使用NT domain(SMB)认证的文章还是比较少。 我把自己配置Squid 的心得体会和大家分享一下。希望高手指点。 一、安装系统。 要安装Squid 。那么首先安装一个操作系统是必需的。FreeBSD是一个比较好的选择了。如果,你要用Linux or Solaris 等其他的Unix系统也是可以的。
FreeBSD只需要最小安装就可以了。 二、软件准备 1 从http://www.squid-cache.org/Versions/v2/2.4/ 下载 2.4.STABLE6 2 从http://samba.gremlins.com.hk/samba/download.html 下载Samba 三、安装软件。 1、在你的domain controler 的NETLOGON下用Wordpad创建一个 proxyauth文件,文件的内容就是allow。 2、由于squid 进行SMB 认证的时候需要使用Samba。附原文 SMB proxy authenticationi module Requirements Squid 2.0 or above, or another proxy server with the same authentication module interface. Squid 1.1 with Arijan de
Vet's patch works fine too. smb_auth needs Samba to talk SMB. If you don't have Samba installed on your proxy server, download and install Samba
now, You don't need to start the samba daemons, smb_auth only uses the Samba client utilities.
先安装samba: tar zxvf samba-latest.tar.gz。 在configure的时候要注意: ./configure --prefix=/usr/local/samba。最好用装在这里。因为SMB的认证模块中缺省是认为samba是安装在这里的。装完