Jump to content

Recommended Posts

Posted

I am currently in the process of setting up a squid server to replace our TMG server.

 

I have got Squid up and running, on Windows Server 2008 R2 (this is done to try and keep as much of a 'standard' platform in school as possible for future years).

 

I have it working with negotiate - if I put the proxy in the manual proxy details boxes. It logs my username against my web browsing as it should. However, if I enter the details in our WPAD.dat file (replacing the IP of the existing TMG server), I get prompted to log in!

 

Any idea why it'd be prompting me there but not when its defined manually?

Posted

Can you see the request for the WPAD file in the access log? IE does some goofy things with caching the WPAD script and I don't believe IE sends credentials with WPAD gets. I would try two things: first, disable caching of WPAD through GPO, and second, edit the WPAD file to instruct the browser to connect to whatever web server is hosting the WPAD file directly.

 

User Configuration>Administrative Templates>Windows>Components>Internet Explorer: Disable caching of Auto-proxy scripts

 

if shExpMatch (url, "http://webhost/wpad.dat") return "DIRECT";

Posted
How would the request be in the access log? The access log would only log requests for things after the wpad had been downloaded - as the browser doesn't know anything about the proxy until it gets it (directly)?
Posted
How would the request be in the access log? The access log would only log requests for things after the wpad had been downloaded - as the browser doesn't know anything about the proxy until it gets it (directly)?

 

I was thinking about consecutive requests for the WPAD script once it has already been cached by IE. I actually had an issue where I forgot to add the web server hosting the WPAD file to exceptions and had this happen. So I was curious if it was subsequent gets for WPAD triggering a request for credentials or whatever the start-up page your browser is set to.

 

The only other thing I could think of is if you're using the Kerberos helper in Squid then the proxy has to be called out by its FQDN instead of by IP. It will continually prompt for credentials if this were the case.

Posted
The only other thing I could think of is if you're using the Kerberos helper in Squid then the proxy has to be called out by its FQDN instead of by IP. It will continually prompt for credentials if this were the case.

 

Ah! That sounds like it could very well be the issue. I use the IP in the WPAD file, but the name when entering it manually. I shall test and see.

Posted

I have got Squid up and running, on Windows Server 2008 R2 (this is done to try and keep as much of a 'standard' platform in school as possible for future years).

 

i know where you're coming from there, its a tricky decision to make, especially if you use DPM for backups

Posted
WPAD seems happily to be accessed by IP - the device its hosted on doesn't have a FQDN as its a wireless controller. I'll be experimenting today, once I figure out why our DNS servers have suddenly decided 'nah, not gonna replicate'...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...