ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] squid & AD
@ 2006-04-26  9:39 Igo
  2006-04-27 11:03 ` Igo
  0 siblings, 1 reply; 2+ messages in thread
From: Igo @ 2006-04-26  9:39 UTC (permalink / raw)
  To: ALT Linux Community

что то никак непроходит. постоянно пароль запрашивает броузер

[root@test squid]# wbinfo -t
checking the trust secret via RPC calls succeeded

[root@test squid]# ntlm_auth --helper-protocol=squid-2.5-basic
domen+name passwd
OK

[root@test usr]# [root@test squid]# cat squid.conf
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
ftp_user anonymous

debug_options ALL,9
#--require-membership-of=S-1-5-21-57989841-2147032053-725345543-1117
auth_param ntlm program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/bin/ntlm_auth --helper-protocol
auth_param basic children 10
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

external_acl_type ad_group %LOGIN "/usr/bin/wbinfo -n "

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl HTTP_GRP external ad_group http

acl to_localhost dst 127.0.0.0/8
acl Safe_ports port 80 8080     # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl CONNECT method CONNECT

#wbinfo -n http
http_access allow HTTP_GRP Safe_ports

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports !Jabber_ports
http_access allow localhost
http_access deny all
http_reply_access allow all




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] squid & AD
  2006-04-26  9:39 [Comm] squid & AD Igo
@ 2006-04-27 11:03 ` Igo
  0 siblings, 0 replies; 2+ messages in thread
From: Igo @ 2006-04-27 11:03 UTC (permalink / raw)
  To: ALT Linux Community

[root@test squid]# wbinfo -u |grep lin
HOST/linux
это нормально?
вроде компы в домене должны быть linux$
хотя
[root@test squid]# wbinfo -t
checking the trust secret via RPC calls succeeded

пробывал еще вот так , но постоянно запрашивает пароль. что делать
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
ftp_user anonymous
auth_param ntlm program /usr/bin/ntlm_auth 
--require-membership-of="S-1-5-21-57989841-2147032053-725345543-1117"  
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/bin/ntlm_auth 
--require-membership-of="S-1-5-21-57989841-2147032053-725345543-1117" 
--helper-protocol=squid-2.5-basic
auth_param basic children 10
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255

acl squid_users proxy_auth REQUIRED

acl to_localhost dst 127.0.0.0/8
acl Safe_ports port 80 8080     # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl CONNECT method CONNECT

http_access allow squid_users

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports !Jabber_ports
http_access allow localhost
http_access deny all
http_reply_access allow all





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-27 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-26  9:39 [Comm] squid & AD Igo
2006-04-27 11:03 ` Igo

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git