Jump to content

Recommended Posts

Posted

I tried to reinstall Samba, hoping that might fix the problem.

It did not. I also reinstalled Winbind, which did not help anything either.

 

I am now using the 3.0.2-11 version of Samba. Winbind is the same version.

 

What package should I upgrade to get NTLM to the same, newer version?

Posted

I have reinstalled Squid three times, hoping this might update the ntlm_auth files. I even deleted the ntlm_auth files once, then reinstalled.

 

I still keep getting unknown option message for ntlm_auth -V

 

Any tips?

Posted

I have decided to take a different approach and try SquidNT on my windows 2003 DC (DC IP: 192.168.0.1, SquidNT port: 3128), thinking it might be easier to get setup the rest of the way.

 

Good news! SquidNT proxies the sites and logs the username, automatically getting it from NTLM. However, all is still not working. :(

 

I programmed Dansguardian (IP: 192.168.0.2, port 8181) to look at the Proxy IP for SquidNT.

 

Dansguardian does successfully block the sites I tell it to, but Dansguardian does not get the username from Squid or display non-blocked sites.

 

Any tips on this? Maybe it's something simple. I have IE set to connect to proxy at 192.168.0.2, port 8181.

Posted

Update:

 

I have now gotten Dansguardian to proxy sites using squid and block needed sites. However, it still does not get the username from Squid.

 

If I try to connect to just the Squid proxy server, it does log the username.

When I try to connect (using IE) to the Dansguardian filter, it does not log the username in the Dansguardian log.

 

Does anyone have any tips on this issue? I'm getting so close...

Posted

OK. 2.9.8 is now installed.

 

However, when I start it it says "Squid not running. Dansguardian requires Squid".

 

Squid is running on the Windows 2003 machine.

If I just start squid on the linux box (which is not being used), it then says Dansguardian start FAILED.

 

Any ideas? I'm guessing a config problem.

  • 2 weeks later...
Posted

OK. I have now reinstalled Dansguardian version 2.9.8.5 on my linux server. It does accept traffic.

 

If I set IE to connect directly to SquidNT, it logs the username properly in Squid.

 

If I set IE to connect to Dansguardian (which has the proxy ip set to SquidNT), then it logs just the site on SquidNT (also on the DG log, though), but no user name.

 

Any ideas? I think I'm getting really close. Thanks!

Posted

verify your dansguardian.conf has the correct authentication plugins enabled.

 

authplugin = '/etc/dansguardian/authplugins/proxy-basic.conf'
authplugin = '/etc/dansguardian/authplugins/proxy-ntlm.conf'

 

Your paths may differ.

Posted

OK. I found part of the problem.

I had created an ACL that bypass authentication coming from the linux server.

 

The Squid log now shows the domain username, but the DG log doesn't.

Any ideas? (It's getting so close, it seems like)

Posted

Below is a screenshot of the network settings from DG.

 

I have the browsers set to the DG ip (192.168.0.2) with port 8080.

 

Do I still have things out of order?

screenhunter_01_jul._11_10.36.gif

Posted

My dansguardian is set as follows:

 

# Network Settings
#
# the IP that DansGuardian listens on.  If left blank DansGuardian will
# listen on all IPs.  That would include all NICs, loopback, modem, etc.
# Normally you would have your firewall protecting this, but if you want
# you can limit it to a certain IP. To bind to multiple interfaces,
# specify each IP on an individual filterip line.
filterip =

# the port that DansGuardian listens to.
filterport = 8080

# the ip of the proxy (default is the loopback - i.e. this server)
proxyip = 127.0.0.1

# the port DansGuardian connects to proxy on
proxyport = 3128

 

And Squid:

 

#IP/Port squid listens for connections on

http_port 127.0.0.1:3128

 

Thus clients connect on port 8080

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...