Posts

Showing posts from August, 2011

Use squid on ubuntu server linked with a domain controler in order to force NTLM authentication

(This installation was made on an ubuntu server 10.10) Install squid: sudo apt-get install squid You can already test the installation by configuring your web browser to use your server on port 3128 as the proxy server. You should receive an error web page generated by squid or the requested web page. In order to request your active directory server, you have to install the following packages: sudo apt-get install samba krb5-user libpam-krb5 winbind During the installation, you could be prompted for some information. Just leave the default values, we will modify the config files later. Edit /etc/krb5.conf and add or edit the following values : [libdefaults] default_realm = YOURDOMAIN.COM [...] [realms] STARWARS.LOCAL = { kdc = dc admin_server = dc default_domain = YOURDOMAIN.COM } [...] [domain_realm] .yourdomain.com = YOURDOMAIN.COM yourdomain.com = YOURDOMAIN.COM [...] where yourdomain.com is your network domain (respect the character casing !) and dc i