Код: Выделить всё
[global]
workgroup = RAKDOMAIN
server string = Samba Server
security = domain
hosts allow = 192.168.25. 192.168.26. 192.168.20. 127.
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
password server = 192.168.25.100 192.168.25.105
socket options = TCP_NODELAY
interfaces = 192.168.25.2/24
local master = no
os level = 0
domain master = no
preferred master = no
domain logons = no
wins support = no
dns proxy = no
winbind separator = +
encrypt passwords = yes
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
You have mail in /var/mail/root
Код: Выделить всё
[root@bc /usr/local/etc/squid]# cat /etc/nsswitch.conf
group: files winbind
passwd: files winbind
Код: Выделить всё
[root@bc /usr/local/etc/squid]# ls -l /var/db/samba/
total 170
-rw------- 1 root wheel 8192 18 июн 07:34 account_policy.tdb
-rw-r--r-- 1 root wheel 8192 27 ноя 14:56 gencache.tdb
-rw------- 1 root wheel 8192 23 май 2007 group_mapping.tdb
-rw------- 1 root wheel 696 27 ноя 14:56 messages.tdb
-rw------- 1 root wheel 8192 27 ноя 13:09 netsamlogon_cache.tdb
-rw------- 1 root wheel 8192 23 май 2007 ntdrivers.tdb
-rw------- 1 root wheel 696 23 май 2007 ntforms.tdb
-rw------- 1 root wheel 8192 18 июн 07:34 ntprinters.tdb
drwxr-xr-x 2 root wheel 512 23 май 2007 perfmon
drwxr-xr-x 2 root wheel 512 23 май 2007 printing
-rw------- 1 root wheel 16384 18 июн 07:34 registry.tdb
-rw------- 1 root wheel 8192 28 май 2007 share_info.tdb
-rw------- 1 root wheel 57344 27 ноя 15:24 winbindd_cache.tdb
-rw-r--r-- 1 root wheel 32768 23 ноя 14:29 winbindd_idmap.tdb
drwxr-x--- 2 root squid 512 27 ноя 14:56 winbindd_privileged
Код: Выделить всё
[root@bc /usr/local/etc/squid]# cat squid.conf | grep -v "^#" | grep -v "^$"
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /usr/local/etc/squid/var/cache 100 16 256
cache_access_log /usr/local/etc/squid/var/logs/access.log
cache_log /usr/local/etc/squid/var/logs/cache.log
cache_store_log none
mime_table /usr/local/etc/squid/mime.conf
pid_filename /usr/local/etc/squid/var/squid.pid
auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 20 # 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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl froxserver src 192.168.25.2
acl our_networks src 192.168.25.0/24 192.168.20.0/24
http_access allow our_networks
http_access allow froxserver
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname 192.168.25.1
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
dns_testnames localhost
logfile_rotate 32
error_directory /usr/local/etc/squid/errors/Russian-1251
coredump_dir /usr/local/etc/squid/var/cache