У меня причусвие что я гдето не указал сервер паролей для дополнительных доменов.
Подскажите гле это прописывается и синтаксис.
Конфиг : SQUID
Код: Выделить всё
http_port 3128
#https_port 443
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
error_directory /usr/local/share/errors/Russian-koi8-r
maximum_object_size 16384 KB
visible_hostname PROXY.SIGMA.LOCAL
memory_pools off
#memory_pools_limit 10000
cache_dns_program /usr/local/libexec/squid/dnsserver
cache_dir ufs /usr/local/squid/cache 5000 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
ftp_user enokentiy@sigma.ru
quick_abort_pct 60
negative_ttl 1 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
half_closed_clients on
cache_mgr admin@sigma.zp.ua
cache_effective_user squid
cache_effective_group squid
forwarded_for off
client_db on
acl ip src "/usr/local/squid/db/ip.txt"
http_access allow ip
##NTLM
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="SIGMA//internet"
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="SIGMA"
auth_param ntlm children 5
auth_param ntlm keep_alive on auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="SIGMA//internet"
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="STEP_SIGMA//internet"
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="STEP_SIGMA"
auth_param ntlm children 5
auth_param ntlm keep_alive on auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="STEP_SIGMA//internet"
#LDAP
#BASIC
auth_param ntlm keep_alive on auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp -require-membership-of="SIGMA"
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
external_acl_type nt_group %LOGIN /usr/local/libexec/squid/wbinfo_group.pl
acl vse_ src 0.0.0.0/0.0.0.0
acl internet external nt_group internet
acl internet_limit external nt_group internet_limit
acl internet_corp external nt_group internet_corp
acl allow_resurs dstdomain "/usr/local/squid/db/allow"
acl deny_resurs dstdomain "/usr/local/squid/db/deny"
##acl deny_baners dstdomain "/usr/local/squid/db/pcre"
#acl deny_urls dstdomain "/usr/local/squid/db/urls"
#acl deny_jurls dstdomain "/usr/local/squid/db/jurls"
#acl deny_mp3 dstdomain "/usr/local/squid/db/mp3"
#acl deny_porno dstdomain "/usr/local/squid/db/porno"
acl mail dstdomain "/usr/local/squid/db/mail"
#acl en url_regex -i "/usr/local/squid/db/fuck"
#http_access deny internet_corp en
#acl deny_uaru dstdomain "/usr/local/squid/db/uaru"
#http_access deny internet_corp deny_uaru
#http_access deny internet_corp deny_porno
#http_access deny internet_corp deny_mp3
#http_access deny internet_corp deny_jurls
#http_access deny internet_corp deny_urls
#http_access deny internet_corp deny_baners
http_access deny internet_corp deny_resurs
http_access allow internet_corp
http_access allow internet
http_access allow internet_limit allow_resurs
http_access allow vse_ mail
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 44016
acl Safe_ports port 44017
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
url_rewrite_program /usr/local/rejik/redirector /usr/local/rejik/redirector.conf
Код: Выделить всё
[libdefaults]
default_realm = SIGMA.LOCAL
clockskew = 300
v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}
[realms]
SIGMA.LOCAL = {
kdc =tcp/osndc.sigma.local
admin_server = osndc.sigma.local
defualt_domain = sigma.local
}
OTHER.REALM = {
v4_instance_convert = {
kerberos = kerberos
computer = osndc.sigma.local
}
}
[domain_realm]
.sigma.local = SIGMA.LOCAL
Код: Выделить всё
workgroup = SIGMA
server string = Samba Server
security = ads
hosts allow = 192.168.1. 192.168.2. 192.168.3. 192.168.4. 127.
load printers = no
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/log.%m
max log size = 200
password server = osndc.sigma.local step.sigma.local
realm = SIGMA.LOCAL
passdb backend = tdbsam
socket options = TCP_NODELAY
local master = no
os level = no
domain master = no
preferred master = no
wins server = 192.168.1.2
wins proxy = yes
dns proxy = yes
display charset = koi8-r
unix charset = koi8-r
dos charset = cp866
/bin/false %u
encrypt passwords = yes
winbind separator = /
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
nt acl support = yes
inherit acls = yes
map acl inherit = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
Код: Выделить всё
STEP_SIGMA/zalozniy
STEP_SIGMA/step1
STEP_SIGMA/demchenko
STEP_SIGMA/test1
администратор
гость
support_388945a0
krbtgt
inbev
info
it
obmen
obmen_pm
Те что с припиской Step_sigma относится к домену pdc2-step.sigma.local (NETbios имя step_sigma)