The squid website explains that clearly .. which part don't you undersand ? http://wiki.squid-cache.org/ConfigExamples/#Authentication
I'll just add that the ntlm helper won't work under Windows 7/Windows Server 2008 R2.
If you are starting from scratch, set up Kerb Auth as that will work with all versions of windows...