Koozali.org: home of the SME Server

proxy user authentication on SME 512

Daley Lay

proxy user authentication on SME 512
« on: June 11, 2002, 12:52:00 PM »
Hi There,

Pls help, my proxy user authentication is stop working, i don't know what is the problem, the user is bypsssing the password prompt to access the internet now, what shd i do???

regards,
Daley

Lloyd Keen

Re: proxy user authentication on SME 512
« Reply #1 on: June 11, 2002, 07:27:13 PM »
Check /etc/squid/squid.conf file for auth rules. Can't remember exactly but should be something like "http access proxy_auth REQUIRED" followed by some ACL's. If this is not present - rebuild the template with /sbin/e-smith/expand-template /etc/squid/squid.conf and also try restarting squid /etc/rc.d/init.d/squid restart or maybe service squid restart.

Edgar

Re: proxy user authentication on SME 512
« Reply #2 on: June 12, 2002, 01:24:09 AM »
is any howto for this??Lloyd Keen wrote:
>
> Check /etc/squid/squid.conf file for auth rules. Can't
> remember exactly but should be something like "http access
> proxy_auth REQUIRED" followed by some ACL's. If this is not
> present - rebuild the template with
> /sbin/e-smith/expand-template /etc/squid/squid.conf and also
> try restarting squid /etc/rc.d/init.d/squid restart or maybe
> service squid restart.

Daley Lay

Re: proxy user authentication on SME 512
« Reply #3 on: June 12, 2002, 08:08:15 AM »

Lloyd Keen

Re: proxy user authentication on SME 512
« Reply #4 on: June 12, 2002, 12:11:23 PM »
Quick howto:
Download the rpm from here: http://www.comnetel.com/tmp-mitel-pam-auth-0.1-1.noarch.rpm
Installation:
#rpm -Uvh tmp*
restart squid:
#/etc/rc.d/init.d/squid restart
Now set your browser to use the proxy server.

Daley Lay

Re: proxy user authentication on SME 512
« Reply #5 on: June 12, 2002, 12:23:56 PM »
Hi Keen,

I'm currently running squidguard30, can i install it???

Lloyd Keen

Re: proxy user authentication on SME 512
« Reply #6 on: June 12, 2002, 03:34:36 PM »
I haven't really had a look at Trevor's stuff, I presume its for blocking porn or similar. The rpm that I used will basically just authenticate all valid e-smith users through squid. I imagine that those authenticated users are then passed on to squidguard for further authentication - so YES it should work just fine.

Daley

Re: proxy user authentication on SME 512
« Reply #7 on: June 12, 2002, 07:24:04 PM »
well, i assume this is the password authentication for proxy user to access through squid, what about your earlier mentioned - check /etc/squid/squid.conf file for auth rules and http access proxy_auth REQUIRED" and rebuild the template.

Thanks.

Lloyd Keen

Re: proxy user authentication on SME 512
« Reply #8 on: June 12, 2002, 10:04:39 PM »
This rpm will add those lines to /etc/squid/squid.conf for you.

Edgar

Re: proxy user authentication on SME 512
« Reply #9 on: June 12, 2002, 10:42:56 PM »
Its necesary to configure the browsers to use the proxy?, i read that sme 5.1.2 has transparent proxy by default, or am i wrong? and if you had to configure the browsers how can you block the clients that doesnt use it (i mean only nat)?

Lloyd Keen

Re: proxy user authentication on SME 512
« Reply #10 on: June 12, 2002, 11:01:38 PM »
Yes you MUST set the browser to use the proxy server, you can't authenticate against a Transparent Proxy (which e-smith has by default). If you want to block particular users then you'd setup an Access Control List for those users.

Patrick Schepers

Re: proxy user authentication on SME 512
« Reply #11 on: June 13, 2002, 01:33:37 AM »
I'm using e-smith-squid on 4.1.2

Works just fine. You configure it by browser

http://e-smith.dyndns.org/

Cheers

Daley Lay

Re: proxy user authentication on SME 512
« Reply #12 on: June 13, 2002, 04:22:34 AM »
Hi Patrick,

yes, but the e-smith-squid does not really work on 5.1.2.

Daley Lay

Re: proxy user authentication on SME 512
« Reply #13 on: June 13, 2002, 04:37:49 AM »
Hi Keen,

It is using the /etc/passwd to authenticate, well, if you look at the e-smith-squid installed, you will have the separate passwd control for authentication check which is stored /etc/squid/squidpasswd, this means that only selected users are allow to access internet,  how can i change it???

Daley Lay

Re: proxy user authentication on SME 512
« Reply #14 on: June 13, 2002, 05:39:30 AM »
Hi Keen,

> This rpm will add those lines to /etc/squid/squid.conf for you.
what lines added?

FredS

Re: proxy user authentication on SME 512
« Reply #15 on: June 13, 2002, 05:35:51 PM »
Edgar wrote:
>
> Its necesary to configure the browsers to use the proxy?, i

Have a look here if you are running IE

http://www.drbig.co.uk/sdownload/index.php?op=showfiles&catid=6

You can then set IE to autodiscovery with this installed and it will then save all the config hassle

Daley

Re: proxy user authentication on SME 512
« Reply #16 on: June 13, 2002, 06:09:17 PM »
Hi Edgar,

There two versions, which one shd i install? Thkx.

Daley

Re: proxy user authentication on SME 512
« Reply #17 on: June 13, 2002, 06:16:36 PM »
Hi Edgar,

Pls help, i can't download the file... tmp-mitel-proxy-discovery-0.1-1.noarch.rpm or tmp-mitel-proxy-discovery-0.1-1.src.rpm...

Edgar

Re: proxy user authentication on SME 512
« Reply #18 on: June 13, 2002, 09:54:20 PM »
Can you help Daley with download Fred?

Edgar

Re: proxy user authentication on SME 512
« Reply #19 on: June 13, 2002, 10:11:01 PM »
i got no problem with downloading the file, you got to use the noarch version, the other one is the source!

Daley Lay

Re: proxy user authentication on SME 512
« Reply #20 on: June 14, 2002, 04:49:42 AM »
Hi Ed,

Downloaded but file name 'download.php', tried IE and opera... this file is only auto discover the proxy, in order words, as long as your user in /etc/passwd,  then they are allow to access the net.

In view of the e-smith-squid.xxx.rpm, it created the difference 'squidpasswd' passwd file for authentication check, which means that only selected user is allow. can i split the squid passwd check instead of using the /etc/passwd?

Regards,
Daley