• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Squid Authentication Via NT Domain Accounts

I am relative newcomer to linux. I have an NT 4 based domain with squid server as a proxy to approx 500 users. I want to allow users to authenticate (hopefully) transparently to the NT4 domain so that most importantly the username will be logged to access.log and hence appear in SARG (we currently only monitor ip addresses). I am using Winbind with SAMBA and want to do something similar as i have heard this works with other services and do not want to maintain multiple account databases. Does anyone have any suggestions.
0
tobyk
Asked:
tobyk
  • 2
  • 2
1 Solution
 
ZookCommented:
You can configure the authentification plugin "smb_auth" with the squid cache:

http://www.hacom.nl/~richard/software/smb_auth.html
http://www.squid-cache.org/


Assuming your Squid is running, the configuration is trivial. I doesn't make sense to copy and paste the good docmentation here, so just have a look at it.

They main concept is, you have a file on your NT Server, that can only be accessed by the NTgroup that is allowed to use the Internet. smb_auth tries to access this file via the samba client. If it can you may surf.

This works fine in our network.

cu
Zook

0
 
tobykAuthor Commented:
How secure is smb_auth. I heard this is really good but then when searching for setup i read this link saying it had security holes. What do you think

http://linux.lexilog.org.uk/squid.html
0
 
ZookCommented:
The weekness here is, that if an attacker got hold of your proxy, smb_auth might help him get your Windows passwords. But then again - if the attacker already got hold of your proxy machine, he might plant any trojan he likes. So until you have a dedicated firewall/proxy and have regular integrity checks the risk might be tolerable => You have to know.

My Opinion, but I am far from being a security expert, if the hacker is already inside my ==> Windows <== Network "Resistance is futile", anyway ;-)

cu
Zook
0
 
CleanupPingCommented:
tobyk:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
tobykAuthor Commented:
Zook thanks for your answer. This was the best idea at the time but i ended up using Winbind for this task
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now