wbinfo -g пишет
Код: Выделить всё
Error looking up domain groups

Код: Выделить всё
Error looking up domain groups
Код: Выделить всё
server string = sams (имя машины)
password server = fls.ВАШ.ДОМЕН
client NTLMv2 auth =Yes (смотри man как проходят проверку, plaintext, lanman, ntlm в No если не стоит по умолчанию)
Код: Выделить всё
winbind uid = 10000-15000
winbind gid = 10000-15000
Код: Выделить всё
idmap uid = 10000-20000
idmap gid = 10000-20000
Код: Выделить всё
winbind separator = +
Код: Выделить всё
auth methods = winbind
winbind use default domain = yes
winbind cache time = 60
winbind enum users = Yes
winbind enum groups = Yes
winbind refresh tickets =Yes
Код: Выделить всё
bind interfaces only = yes
interfaces = rl0 (например)
Код: Выделить всё
wins proxy = No
wins support = No
Код: Выделить всё
net ads join -U Administrator
Код: Выделить всё
Error looking up domain groups
Код: Выделить всё
et ads join -U Administrator
Код: Выделить всё
net ads join -U
Код: Выделить всё
Joined 'FLS' to realm domain 'ВАШ.ДОМЕН'
Код: Выделить всё
cd /usr/local/etc/rc.d/
ls -l
total 16
-r-xr-xr-x 1 root wheel 5612 Jul 20 18:46 apache22
-r-xr-xr-x 1 root wheel 1731 Jul 20 18:46 htcacheclean
-r-xr-xr-x 1 root wheel 1966 Jul 23 17:42 mysql-server
-r-xr-xr-x 1 root wheel 631 Aug 5 16:56 sams
-r-xr-xr-x 1 root wheel 2634 Jul 20 20:01 squid
Код: Выделить всё
ee /usr/local/etc/squid/squid.conf
# created by SAMS _sams_ 2011-11-30 15:54:2
http_port 3128 transparent accel vhost
acl localhost src 127.0.0.1/32
acl localnet src 10.0.0.0/8
http_access allow localnet
http_access allow localhost
http_access deny all
auth_param ntlm program /usr/local/bin/ntlm_auth \
--helper-protocol=squid-2.5-ntlmssp
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-basic
auth_param basic children 5
auth_param basic realm Squid Proxy-Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
pid_filename /var/run/squid/squid.pid
url_rewrite_program /usr/local/rejik/redirector /usr/local/rejik/redirector.conf
Код: Выделить всё
1322652901.232 430 10.18.224.221 TCP_MISS/200 14352 GET http://vkontakte.ru/ - DIRECT/87.240.131.97 text/html
1322652902.291 74 10.18.224.221 TCP_MISS/200 498 GET http://vkontakte.ru/al_loader.php? - DIRECT/87.240.131.97 text/html
1322652903.414 160 10.18.224.221 TCP_MISS/200 1473 GET http://vkontakte.ru/login.php? - DIRECT/87.240.131.97 text/html
1322652903.449 8 10.18.224.221 TCP_MISS/404 550 GET http://counter.yadro.ru/hit? - DIRECT/127.0.0.1 text/html
1322652903.581 144 10.18.224.221 TCP_MISS/200 536 GET http://www.tns-counter.ru/V13a***R>*vkontakte_ru/ru/UTF-8/tmsec=vkontakte_total/300047105 - DIRECT/217.73.200.219 imag
1322652905.176 2840 10.18.224.221 TCP_MISS/200 5342 CONNECT login.vk.com:443 - DIRECT/87.240.188.253 -
Код: Выделить всё
acl localhost src 127.0.0.1/32
acl localnet src 10.0.0.0/8
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 10.18.224.222:3128
Код: Выделить всё
1322720556.494 3 10.18.224.221 TCP_DENIED/407 4533 GET http://google.ru/ - NONE/- text/html
1322720556.500 5 10.18.224.221 TCP_DENIED/407 4850 GET http://google.ru/ - NONE/- text/html
1322720556.505 3 10.18.224.221 TCP_MEM_HIT/301 661 GET http://google.ru/ isokolov NONE/- text/html
1322720557.076 568 10.18.224.221 TCP_MISS/200 20346 GET http://www.google.ru/ isokolov DIRECT/173.194.32.16 text/html
1322720557.246 0 10.18.224.221 TCP_DENIED/407 4715 GET http://www.google.ru/compressiontest/gzip.html - NONE/- text/html
1322720557.248 0 10.18.224.221 TCP_DENIED/407 5032 GET http://www.google.ru/compressiontest/gzip.html - NONE/- text/html
1322720557.274 2 10.18.224.221 TCP_DENIED/407 4289 GET http://clients1.google.ru/generate_204 - NONE/- text/html
1322720557.356 105 10.18.224.221 TCP_MISS/200 997 GET http://www.google.ru/compressiontest/gzip.html isokolov DIRECT/173.194.32.16 text/html
1322720557.503 0 10.18.224.221 TCP_DENIED/407 4655 GET http://www.google.ru/csi? - NONE/- text/html
1322720557.506 0 10.18.224.221 TCP_DENIED/407 4972 GET http://www.google.ru/csi? - NONE/- text/html
1322720557.620 112 10.18.224.221 TCP_MISS/204 328 GET http://www.google.ru/csi? isokolov DIRECT/173.194.32.16 image/gif
Код: Выделить всё
acl windowsupdate dstdomain -i "/usr/local/etc/squid/windowsupdate"
no_cache deny windowsupdate
http_access allow windowsupdate
# этот http_access нужно поставить перед http_access deny all
# не забываем, что squid.conf парсится сверху вниз и слева направо
Код: Выделить всё
windowsupdate.microsoft.com
update.microsoft.com
activex.microsoft.com
download.windowsupdate.com
www.download.windowsupdate.com
codecs.microsoft.com
stats.updates.microsoft.com
c.microsoft.com
Код: Выделить всё
# created by SAMS _sams_ 2011-12-8 14:46:20
# TAG: auth_param
auth_param ntlm program /usr/local/bin/ntlm_auth \
--helper-protocol=squid-2.5-ntlmssp
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-basic
auth_param basic children 5
auth_param basic realm Squid Proxy-Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
pid_filename /var/run/squid/squid.pid
url_rewrite_program /usr/local/rejik/redirector /usr/local/rejik/redirector.conf
# TAG: acl
acl _sams_default proxy_auth "/usr/local/etc/squid/default.sams"
acl _sams_default_time time MTWHFAS 00:00-23:00
acl windowsupdate dstdomain -i "/usr/local/etc/squid/windowsupdate"
no_cache deny windowsupdate
acl localhost src 127.0.0.1/32
acl localnet src 10.0.0.0/8
acl localnet1 src 172.16.1.0/24
# TAG: http_access
http_access allow _sams_default _sams_default_time
http_access allow windowsupdate
http_access allow localnet
http_access allow localnet1
http_access allow localhost
http_access deny all
# TAG: http_port
http_port 10.18.224.222:3128
# TAG: coredump_dir
coredump_dir /usr/share/squid/cache
Код: Выделить всё
1323336544.380 1 172.16.1.1 TCP_DENIED/407 451 HEAD http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.403 15 172.16.1.1 TCP_DENIED/407 654 HEAD http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.406 1 172.16.1.1 TCP_DENIED/407 451 HEAD http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.415 0 172.16.1.1 TCP_DENIED/407 3958 GET http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.418 1 172.16.1.1 TCP_DENIED/407 4259 GET http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.420 1 172.16.1.1 TCP_DENIED/407 4602 GET http://download.windowsupdate.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.434 0 172.16.1.1 TCP_DENIED/407 451 HEAD http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.436 0 172.16.1.1 TCP_DENIED/407 654 HEAD http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.438 0 172.16.1.1 TCP_DENIED/407 451 HEAD http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.447 0 172.16.1.1 TCP_DENIED/407 3942 GET http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.449 0 172.16.1.1 TCP_DENIED/407 4243 GET http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.451 0 172.16.1.1 TCP_DENIED/407 4588 GET http://download.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.466 0 172.16.1.1 TCP_DENIED/407 451 HEAD http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.469 1 172.16.1.1 TCP_DENIED/407 654 HEAD http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.471 0 172.16.1.1 TCP_DENIED/407 451 HEAD http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.480 0 172.16.1.1 TCP_DENIED/407 3950 GET http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.483 1 172.16.1.1 TCP_DENIED/407 4251 GET http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html
1323336544.485 1 172.16.1.1 TCP_DENIED/407 4594 GET http://www.update.microsoft.com/v9/windowsupdate/redir/muv4wuredir.cab? - NONE/- text/html