sfantom20
![](http://forum.ru-board.com/board/avatars/skull.gif)
Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Добрый день! пытаюсь настроить авторизацию керберос на squid 2.7 (сквид под windows) Мой конфиг Код: http_port 192.168.0.11:8086 visible_hostname proxymail.motor.local cache_dir ufs c:/squidnt/var/cache 2048 16 256 max_open_disk_fds 0 minimum_object_size 0 KB cache_mem 2048 MB store_dir_select_algorithm least-load minimum_object_size 0 KB maximum_object_size 4096 KB cache_swap_low 90 cache_swap_high 95 update_headers on logfile_rotate 10 debug_options ALL,1 33,2 29,4 82,4 28,4 logfile_daemon c:/squidnt/libexec/logfile-daemon.exe access_log c:/squidnt/var/logs/access.log pid_filename c:/squidnt/var/logs/squid.pid cache_log c:/squidnt/var/logs/cache.log auth_param basic program C:/squidnt/libexec/squid_ldap_auth.exe -R -D SQUIDService@motor.local -w 12345678 -b "ou=omkb,dc=motor,dc=local" "sAMAccountName=%s" srv-ad2.motor.local authenticate_ttl 1 hour external_acl_type ldap_users %LOGIN C:/squidnt/libexec/squid_ldap_group.exe -b -R -d "dc=motor,dc=local" -f "(&(sAMAccountName=%v)(memberOf=cn=%a,cn=Пользователи,ou=builtin,dc=motor,dc=local))" -D SQUIDService@dmotor.local -w 12345678 -R srv-ad2.motor.local ttl=3600 acl group-allow-inet external ldap_users UsersWithInternet acl all src 10.141.8.0/24 http_access allow group-allow-inet acl INTERNET proxy_auth REQUIRED http_access allow INTERNET http_access allow all http_access deny all refresh_pattern -i \.gif$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.png$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.jpg$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.pdf$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.zip$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.tar$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.gz$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.tgz$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.exe$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.prz$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.ppt$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.inf$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.swf$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.mid$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.wav$ 43200 100% 43200 override-lastmod override-expire refresh_pattern -i \.mp3$ 43200 100% 43200 override-lastmod override-expire | В интернет не пускает, выдается меня на авторизацию в логах пишет такое access.log Код: cache.log Код: 019/10/16 15:41:56| aclMatchAclList: checking all 2019/10/16 15:41:56| aclMatchAcl: checking 'acl all src 10.141.8.0/24' 2019/10/16 15:41:56| aclMatchIp: '10.141.8.21' found 2019/10/16 15:41:56| aclMatchAclList: returning 1 2019/10/16 15:41:56| aclCheck: checking 'http_access allow group-allow-inet' 2019/10/16 15:41:56| aclMatchAclList: checking group-allow-inet 2019/10/16 15:41:56| aclMatchAcl: checking 'acl group-allow-inet external ldap_users UsersWithInternet' 2019/10/16 15:41:56| authenticateValidateUser: Auth_user_request was NULL! 2019/10/16 15:41:56| authenticateAuthenticate: broken auth or no proxy_auth header. Requesting auth header. 2019/10/16 15:41:56| aclAuthenticated: returning 0 sending authentication challenge. 2019/10/16 15:41:56| aclMatchExternal: ldap_users user not authenticated (-1) 2019/10/16 15:41:56| aclMatchAclList: no match, returning 0 2019/10/16 15:41:56| aclCheck: match found, returning 2 2019/10/16 15:41:56| aclCheckCallback: answer=2 2019/10/16 15:41:56| The request CONNECT 23.23.194.123:443 is DENIED, because it matched 'group-allow-inet' 2019/10/16 15:41:56| The reply for CONNECT 23.23.194.123:443 is ALLOWED, because it matched 'group-allow-inet' | | Всего записей: 261 | Зарегистр. 15-12-2004 | Отправлено: 12:43 16-10-2019 | Исправлено: sfantom20, 12:45 16-10-2019 |
|