{"id":522,"date":"2010-10-18T15:55:01","date_gmt":"2010-10-18T12:55:01","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=522"},"modified":"2026-03-30T10:40:23","modified_gmt":"2026-03-30T07:40:23","slug":"squid-%d0%b0%d0%b2%d1%82%d0%be%d1%80%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d1%8f-%d0%b2-activedirectory-%d0%b8-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%81%d1%82%d0%b8%d0%ba%d0%b0-%d0%bf%d0%be%d1%81%d0%b5%d1%89","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=522","title":{"rendered":"squid: \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0432 ActiveDirectory \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u0441\u0435\u0449\u0435\u043d\u0438\u0439 \u0441\u0430\u0439\u0442\u043e\u0432"},"content":{"rendered":"<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u043c\u0435\u043d \u043d\u0430 <strong>ActiveDirectory<\/strong> \u0438 \u0448\u043b\u044e\u0437 \u043d\u0430 <strong>FreeBSD<\/strong>. \u0418 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u0430\u043c (\u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0442 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f \ud83d\ude42 ) \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0434\u043e\u043c\u0435\u043d.<\/p>\n<p>\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c: \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430 <strong>ActiveDirectory<\/strong> \u043d\u0430 <strong>Windows 2008<\/strong> (\u043b\u043e\u0433\u0438\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0435, \u0434\u0430 \u0435\u0449\u0451 \u0438 \u0441 \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438!), <strong>FreeBSD 8.1 amd64<\/strong>, \u043a\u043b\u0438\u0435\u043d\u0442\u044b <strong>Windows XP\/7<\/strong><\/p>\n<p><!--more--><\/p>\n<p><em><strong><span style=\"color: #ff6600;\">\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/span><\/strong><\/em><\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f \u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 <strong>squid<\/strong>, \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u043c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438.<\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043f\u043e\u0440\u0442\u044b:<\/p>\n<p><code>#portsnap fetch update<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">1) \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 squid.<\/span><\/strong><\/p>\n<p>\u0418\u0434\u0451\u043c \u0432 \u043f\u043e\u0440\u0442\u044b \u0438 \u0441\u0442\u0430\u0432\u0438\u043c <strong>squid<\/strong>:<\/p>\n<p><code>#cd \/usr\/ports\/www\/squid31 &amp;&amp; make install clean<\/code><\/p>\n<p>\u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u043e\u043f\u0446\u0438\u0439 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435:<\/p>\n<p><code>[X] SQUID_LDAP_AUTH Install LDAP authentication helpers<br \/>\n[X] SQUID_PINGER Install the icmp helper<br \/>\n[X] SQUID_HTCP Enable HTCP support<br \/>\n[X] SQUID_WCCP Enable Web Cache Coordination Prot. v1<br \/>\n[X] SQUID_IDENT Enable ident (RFC 931) lookups<br \/>\n[X] SQUID_USERAGENT_LOG Enable User-Agent-header logging<br \/>\n[X] SQUID_IPFW Enable transparent proxying with IPFW<br \/>\n[X] SQUID_LARGEFILE Support log and cache files &gt;2GB<br \/>\n[X] SQUID_DEBUG Enable debugging options<\/code><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u0438\u0434\u0443:<\/p>\n<p><code>http_port 10.1.5.1:3128<br \/>\nlogformat skel_squid %tl.%tu %6tr %&gt;a %Ss\/%03&gt;Hs %&lt;st %rm %ru [%ul] %Sh\/%&lt;A %mt<br \/>\nhierarchy_stoplist cgi-bin ?<br \/>\nacl QUERY urlpath_regex cgi-bin \\?<br \/>\nno_cache deny QUERY<br \/>\ncache_mem 1024 MB<br \/>\ncache_dir ufs \/usr\/local\/squid\/cache 50000 64 512<br \/>\naccess_log \/var\/log\/squid\/stat\/access.log squid<br \/>\naccess_log \/var\/log\/squid\/access.log skel_squid<br \/>\ncoredump_dir \/usr\/local\/squid<br \/>\ncache_store_log none<br \/>\nhosts_file \/etc\/hosts<br \/>\nappend_domain .domain.ua<br \/>\nerror_directory \/usr\/local\/etc\/squid\/errors\/ru<br \/>\nlogfile_rotate 10<br \/>\nauth_param ntlm program \/usr\/local\/bin\/ntlm_auth --helper-protocol=squid-2.5-ntlmssp<br \/>\nauth_param ntlm children 30<br \/>\nauth_param basic program \/usr\/local\/bin\/ntlm_auth --helper-protocol=squid-2.5-basic<br \/>\nauth_param basic children 10<br \/>\nauth_param basic realm Squid proxy-caching web server<br \/>\nauth_param basic credentialsttl 2 hours<br \/>\nauth_param basic casesensitive off<br \/>\nrefresh_pattern ^ftp: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 1440 \u00a0 \u00a020% \u00a0 \u00a0 10080<br \/>\nrefresh_pattern ^gopher: \u00a0 \u00a0 \u00a0 \u00a01440 \u00a0 \u00a00% \u00a0 \u00a0 \u00a01440<br \/>\nrefresh_pattern . \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0 \u00a0 \u00a0 \u00a0 20% \u00a0 \u00a0 4320<br \/>\nexternal_acl_type nt_group ttl=600%LOGIN \u00a0\/usr\/local\/libexec\/squid\/wbinfo_group.pl<br \/>\nacl \u00a0 \u00a0 inet_it \u00a0 \u00a0 \u00a0external nt_group inet_it<br \/>\nacl \u00a0 \u00a0 inet_bad_users \u00a0 \u00a0 \u00a0external nt_group inet_bad_users<br \/>\nacl bnrs url_regex -i \"\/usr\/local\/etc\/squid\/db\/bnrs\" \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#banners<br \/>\nacl porn url_regex -i \"\/usr\/local\/etc\/squid\/db\/porn\" \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#porno<br \/>\nacl games url_regex -i \"\/usr\/local\/etc\/squid\/db\/games\" \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#games<br \/>\nacl prox url_regex -i \"\/usr\/local\/etc\/squid\/db\/prox\" \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#proxy<br \/>\nacl forum url_regex -i \"\/usr\/local\/etc\/squid\/db\/forum\" \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#forum<br \/>\ndeny_info \u00a0 \u00a0 \u00a0 ERR_ACCESS_DENIED \u00a0 \u00a0 \u00a0 bad_url<br \/>\ndeny_info \u00a0 \u00a0 \u00a0 ERR_ACCESS_DENIED \u00a0 \u00a0 \u00a0 \u00a0bad_networks<br \/>\nhttp_access \u00a0 \u00a0 allow \u00a0 inet_it all<br \/>\nhttp_access \u00a0 \u00a0 allow \u00a0 inet_users\u00a0!prox !games !chat_url !porn !bnrs<br \/>\ndeny_info \u00a0 \u00a0 \u00a0 ERR_ACCESS_DENIED \u00a0 \u00a0 \u00a0 all<br \/>\nhttp_access \u00a0 \u00a0 deny \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0all<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0431\u044a\u044f\u0441\u043d\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0446\u0438\u0438:<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; logformat skel_squid<\/span><\/em> : \u044d\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0435 \u0434\u043b\u044f \u043d\u0430\u0441 \u0432\u0440\u0435\u043c\u044f (\u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 <strong>dd\/mm\/yyyy hh:mm:ss<\/strong>); \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e &#8211; \u0443\u0431\u0435\u0440\u0438\u0442\u0435 \u044d\u0442\u0443 \u043e\u043f\u0446\u0438\u044e<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211;\u00a0cache_store_log none<\/span><\/em> : \u044f \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b \u043b\u043e\u0433\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0435\u0448\u0430 (\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u0447\u0435\u043c \u043c\u043d\u0435 \u0437\u043d\u0430\u0442\u044c, \u043a\u0442\u043e \u043a\u0430\u043a\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u0435\u0440\u0451\u0442 \u0438\u0437 \u043a\u0435\u0448\u0430; \u0434\u0430 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435)<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; auth_param ntlm<\/span><\/em> : \u044d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 <strong>ntlm-\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/strong><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; auth_param basic<\/span><\/em> : \u044d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 <strong>basic-\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/strong>; \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0434\u043b\u044f \u0442\u0435\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 <strong>ntlm-\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/strong> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong>opera<\/strong>)<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; external_acl_type<\/span><\/em> : \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044f\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0447\u0435\u0440\u0435\u0437 <strong>winbind<\/strong>), \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 (\u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445) <strong>ttl=600<\/strong> &#8211; \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0442\u043e, \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438\u0437 <strong>AD<\/strong><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; \u0441\u043f\u0438\u0441\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 acl inet_it external nt_group<\/span><\/em> \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u0438\u0437 <strong>ActiveDirectory<\/strong><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043a <strong>squid<\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 <strong>squid&#8217;a<\/strong> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 <strong>\/etc\/rc.conf<\/strong>:<\/p>\n<p><code>squid_enable=\"YES\"<\/code><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432:<\/p>\n<p><code>#mkdir -p \/var\/log\/squid\/stat<br \/>\n#chown -R squid:squid \/var\/log\/squid<\/code><\/p>\n<p>\u041d\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0430\u043c <strong>squid<\/strong>:<\/p>\n<p><code>#\/usr\/local\/etc\/rc.d\/squid start<br \/>\nsquid starting<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u0434\u043e\u043c\u0435\u043d \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<\/span><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0448 \u0448\u043b\u044e\u0437 \u0432 \u0434\u043e\u043c\u0435\u043d\u00a0<strong>ActiveDirectory<\/strong>. \u0427\u0442\u043e \u0431\u044b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c &#8211; \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0438\u043b\u0435\u0442\u00a0<strong>kerberos<\/strong> \u043e\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0434\u043e\u043c\u0435\u043d\u0430. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0448\u043b\u044e\u0437 \u0432 \u0434\u043e\u043c\u0435\u043d.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u00a0<strong>kerberos<\/strong> \u043d\u0435 \u043d\u0443\u0436\u043d\u043e &#8211; \u043e\u043d \u0443\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b\u00a0<strong>\/etc\/krb5.conf<\/strong> (\u0435\u0441\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d, \u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043c \u0435\u0433\u043e) \u0438 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u0438\u0434\u0443:<\/p>\n<p><code>[libdefaults]<br \/>\ndefault_realm = MYDOMAIN.LOCAL<br \/>\n[realms]<br \/>\nMYDOMAIN.LOCAL = {<br \/>\nkdc = 10.1.5.21<br \/>\nadmin_server = 10.1.5.21<br \/>\nkpasswd_server = 10.1.5.21<br \/>\n}<br \/>\n[domain_realm]<br \/>\n.mydomain.local =\u00a0MYDOMAIN.LOCAL<br \/>\nmydomain.local =\u00a0MYDOMAIN.LOCAL<br \/>\n[login]<br \/>\nkrb4_convert = true<br \/>\nkrb4_get_tickets = false<br \/>\n[logging]<br \/>\ndefault = FILE:\/var\/log\/kerberos\/krb5libs.log<br \/>\nkdc = FILE:\/var\/log\/kereros\/krb5kdc.log<br \/>\nadmin_server = FILE:\/var\/log\/kerberos\/kadmind.log<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0438\u043b\u0435\u0442:<\/p>\n<p><code># kinit admin<br \/>\nPassword for admin@MYDOMAIN.LOCAL:<\/code><\/p>\n<p>\u0433\u0434\u0435\u00a0<strong>admin<\/strong> &#8211; \u0443\u0447\u0451\u0442\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0434\u043e\u043c\u0435\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u0442\u044e\u0442\u0435\u0440\u044b \u0432 \u0434\u043e\u043c\u0435\u043d.<br \/>\n\u0415\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435 \u0431\u044b\u043b\u043e, \u0437\u043d\u0430\u0447\u0438\u0442 \u0431\u0438\u043b\u0435\u0442 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438. \u0427\u0442\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0438\u043b\u0435\u0442\u0430, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443\u00a0<strong>klist<\/strong><\/p>\n<p><code># klist<br \/>\nTicket cache: FILE:\/tmp\/krb5cc_0<br \/>\nDefault principal: admin@MYDOMAIN.LOCAL<br \/>\nValid starting\u00a0\u00a0\u00a0\u00a0 Expires\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Service principal<br \/>\n07\/10\/10 14:22:50\u00a0 07\/10\/10 21:02:50\u00a0 krbtgt\/MYDOMAIN.LOCAL@MYDOMAIN.LOCAL<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435.<\/span><\/strong><\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> \u0411\u0438\u043b\u0435\u0442 \u043e\u0442 <\/span><\/em><strong><em><span style=\"color: #ff6600;\">kerberos<\/span><\/em><\/strong><em><span style=\"color: #ff6600;\"> \u043d\u0443\u0436\u0435\u043d \u0432\u0441\u0435\u0433\u043e 1 \u0440\u0430\u0437, \u0447\u0442\u043e \u0431\u044b \u0432\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432 \u0434\u043e\u043c\u0435\u043d. \u0411\u043e\u043b\u044c\u0448\u0435 \u043e\u043d \u043d\u0435 \u043d\u0443\u0436\u0435\u043d. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u043f\u0443\u0433\u0430\u0439\u0442\u0435\u0441\u044c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 <\/span><\/em><strong><em><span style=\"color: #ff6600;\">klist<\/span><\/em><\/strong><em><span style=\"color: #ff6600;\"> \u0438 \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u0430\u043a\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<\/span><\/em><\/p>\n<p><code># klist<br \/>\nCredentials cache: FILE:\/tmp\/krb5cc_0<br \/>\nPrincipal: GATE$@MYDOMAIN.LOCAL<br \/>\nIssued \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Expires \u00a0 \u00a0 \u00a0 \u00a0Principal<br \/>\nOct 11 10:07:45 \u00a0&gt;&gt;&gt;Expired&lt;&lt;&lt; \u00a0krbtgt\/MYDOMAIN.LOCAL@MYDOMAIN.LOCAL<br \/>\nOct 11 10:07:45 \u00a0&gt;&gt;&gt;Expired&lt;&lt;&lt; \u00a0ldap\/srvad.mydomain.local@MYDOMAIN.LOCAL<\/code><\/p>\n<p>\u0414\u043e\u043c\u0435\u043d\u043d\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043d\u043e\u0441\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b <strong>\/etc\/nsswitch.conf<\/strong>. \u041c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<p><code>group: compat<br \/>\npasswd: compat<br \/>\n<\/code><br \/>\n\u043d\u0430 \u0442\u0430\u043a\u0438\u0435<\/p>\n<p><code>group: files winbind<br \/>\npasswd: files winbind<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430\u0448 \u0448\u043b\u044e\u0437 \u0432 \u0434\u043e\u043c\u0435\u043d:<\/p>\n<p><code>#net join rpc -W mydomain.local -U admin<br \/>\nadmin\u2019s password:<br \/>\nJoined domain MYDOMAIN.<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u043f\u0430\u0440\u043e\u043b\u044f \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043e\u0448\u0438\u0431\u043e\u043a &#8211; \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c, \u0432\u044b \u0432 \u0434\u043e\u043c\u0435\u043d\u0435.<\/p>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u043c\u043e\u0433\u0443 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438, \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0438 \u0442\u0430\u043a\u0438\u0445:<\/p>\n<p><code># net join ads -W\u00a0MYDOMAIN.local -U admin<br \/>\nEnter admin's password:<br \/>\nFailed to join domain: failed to find DC for domain ads<br \/>\nADS join did not work, falling back to RPC...<br \/>\nUnable to find a suitable server for domain\u00a0MYDOMAIN.local<br \/>\nUnable to find a suitable server for domain\u00a0MYDOMAIN.local<\/code><\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u0434\u043e\u043c\u0435\u043d \u0442\u0430\u043a:<\/p>\n<p><code># net rpc join -U admin<br \/>\nEnter admin's password:<br \/>\nJoined domain\u00a0MYDOMAIN.<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<p><code>Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME<\/code><\/p>\n<p>\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0432\u0435\u0449\u0438:<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c PTR-\u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \/etc\/hosts \u0441\u0442\u0440\u043e\u043a\u0443<\/span><\/em><\/p>\n<p><code>1.1.1.1 \u0434\u043e\u043c\u0435\u043d<\/code><\/p>\n<p>\u0433\u0434\u0435, 1.1.1.1 &#8211; \u043e\u0434\u0438\u043d \u0438\u0437 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u041a\u0414.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0434\u043e\u043c\u0435\u043d \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<p><code># net ads join -U squid<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 samba.<\/span><\/strong><\/p>\n<p>\u0421\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u044e <strong>3.4<\/strong>:<\/p>\n<p><code>#cd \/usr\/ports\/net\/samba34 &amp;&amp; make install clean<\/code><\/p>\n<p>\u041f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u043e\u043f\u0446\u0438\u0439 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435:<\/p>\n<p><code>[X] ADS With Active Directory support<br \/>\n[X] WINBIND With WinBIND support<br \/>\n[X] SYSLOG With Syslog support<br \/>\n[X] MAX_DEBUG With maximum debugging<\/code><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 <strong>samb&#8217;\u044b<\/strong> \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e <strong>winbind<\/strong>. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 &#8211; \u0432\u044b\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b (<strong>\/usr\/local\/etc\/smb.conf<\/strong>) \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u0438\u0434\u0443:<\/p>\n<p><code>[global]<br \/>\nbind interfaces only = yes<br \/>\ninterfaces = em0<br \/>\nsocket address = 10.1.5.1<br \/>\nunix charset = KOI8-U<br \/>\ndos charset = CP866<br \/>\ndisplay charset = KOI8-U<br \/>\nworkgroup = mydomain<br \/>\nnetbios name = gate<br \/>\nserver string = gate<br \/>\nwins support = no<br \/>\ndns proxy = no<br \/>\nlog file = \/var\/log\/samba34\/log.%m<br \/>\nmax log size = 1000<br \/>\nsyslog = 0<br \/>\nsecurity = ads<br \/>\npassword server = 10.1.5.21<br \/>\nrealm = MYDOMAIN.LOCAL<br \/>\nencrypt passwords = true<br \/>\npassdb backend = tdbsam<br \/>\nobey pam restrictions = yes<br \/>\ninvalid users = root<br \/>\npasswd program = \/usr\/bin\/passwd %u<br \/>\npasswd chat = *Enter\\snew\\sUNIX\\spassword:* %n\\n *Retype\\snew\\sUNIX\\spassword :* %n\\n *passwd:*password\\supdated\\ssuccessfully* .<\/code><\/p>\n<p><code>socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192<br \/>\nidmap uid = 10000-20000<br \/>\nidmap gid = 10000-20000<br \/>\ntemplate shell = \/bin\/sh<br \/>\nwinbind enum groups = no<br \/>\nwinbind enum users = no<br \/>\ntemplate homedir = \/home\/%D\/%U<br \/>\nclient use spnego = yes<br \/>\nwinbind use default domain = no<br \/>\nwinbind refresh tickets = yes<br \/>\nwinbind cache time = 10<br \/>\nrestrict anonymous = 2<\/code><\/p>\n<p><code>domain master = no<br \/>\nlocal master = no<br \/>\npreferred master = no<br \/>\nos level = 0<\/code><\/p>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u043c\u0438 \u0437\u0434\u0435\u0441\u044c \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; workgroup = mydomain<\/span><\/em> : \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <strong>NETBIOS<\/strong> \u0438\u043c\u044f \u0434\u043e\u043c\u0435\u043d\u0430<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; security = ads<\/span><\/em> : \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043e\u043c\u0435\u043d\u043d\u0430\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; password server = 10.1.5.21<\/span><\/em> : \u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u043f\u0430\u0440\u043e\u043b\u044f\u043c\u0438 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430)<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; winbind use default domain = no<\/span><\/em> : \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0434\u043e\u043c\u0435\u043d, \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 yes (\u0443 \u043c\u0435\u043d\u044f \u0432 <strong>AD<\/strong> \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u043c\u0435\u043d\u043e\u0432)<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; winbind refresh tickets = yes<\/span><\/em> : \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0435\u043c\u043e\u043d\u0430 <strong>winbind ticket-granting-ticket (TGT)<\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u0431\u0438\u043b\u0435\u0442 <strong>kerberos<\/strong><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; winbind cache time = 10<\/span><\/em> : \u0432\u0440\u0435\u043c\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 <strong>windind<\/strong> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u043a\u0435\u0448\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0433\u0440\u0443\u043f\u043f, \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0437 ActiveDirectory<br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; domain master, local master, preferred master<\/span><\/em> : \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0448\u043b\u044e\u0437 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<strong> &#8216;yes&#8217;<\/strong> \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0434\u0432\u0438\u0441\u0430\u043d\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b \u0438\u0445 \u0432 no. \u041b\u0443\u0447\u0448\u0435 \u0438\u0445 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432 <strong>&#8216;yes&#8217;<\/strong>:<\/p>\n<p><code>winbind enum groups = no<br \/>\nwinbind enum users = no<\/code><\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430 samba. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 <strong>\/etc\/rc.conf<\/strong>:<\/p>\n<p><code>nmbd_enable=\"NO\"<br \/>\nsmbd_enable=\"NO\"<br \/>\nwinbindd_enable=\"YES\"<\/code><\/p>\n<p>\u041d\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0430\u043c\u0431\u0443 (\u0442\u043e\u0447\u043d\u0435\u0435 <strong>winbind<\/strong>):<\/p>\n<p><code>#\/usr\/local\/etc\/rc.d\/samba start<br \/>\nwinbind starting<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">4) LightSquid<\/span><\/strong><\/p>\n<p>\u041c\u043e\u044f \u0446\u0435\u043b\u044c \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0432\u0430: \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u0441\u0442\u0440\u044b\u0439, \u043f\u0440\u043e\u0441\u0442\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043b\u043e\u0433\u043e\u0432 (\u043a\u0442\u043e \u043a\u0443\u0434\u0430 \u0445\u043e\u0434\u0438\u043b) \u0438 \u0432\u0441\u0451. \u041c\u043e\u0449\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0438<strong> sams<\/strong> \u0434\u043b\u044f \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u044b\u043b\u0438\u044e.<br \/>\n\u0421\u0440\u0435\u0434\u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 \u043b\u043e\u0433\u043e\u0432 <strong>squid&#8217;a<\/strong> \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f <strong>Free-SA<\/strong> &#8211; \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 <strong>\u0421<\/strong> (\u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e), \u043d\u043e \u043e\u043d \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c <strong>x64<\/strong>. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u0441\u043a\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443. \u0418 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 &#8211; <strong>LightSquid<\/strong>. \u0422\u043e\u0436\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0448\u0443\u0441\u0442\u0440\u044b\u0439, \u043d\u043e \u043f\u0440\u0430\u0432\u0434\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 <strong>perl<\/strong>. \u041a\u0441\u0442\u0430\u0442\u0438, \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <strong>opennet.ru<\/strong> \u0435\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u0432 (<strong>http:\/\/www.opennet.ru\/prog\/sml\/100.shtml<\/strong>).<\/p>\n<p>\u041d\u0443 \u0447\u0442\u043e \u0436, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435:<\/p>\n<p><code>#cd \/usr\/ports\/www\/lightsquid &amp;&amp; make install<\/code><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430 \u043e\u043f\u0446\u0438\u044f:<\/p>\n<p><code>[X] GDSUPPORT Graphics report support<\/code><\/p>\n<p>\u042f \u0435\u0451 \u0432\u044b\u0431\u0440\u0430\u043b (\u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f). \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438\u043c\u0435\u0435\u043c: \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f <strong>lightsquid&#8217;a<\/strong> \u043b\u0435\u0436\u0438\u0442 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <strong>\/usr\/local\/etc\/lightsquid<\/strong>, \u0441\u0430\u043c\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 <strong>\/usr\/local\/www\/lightsquid\/report<\/strong> \u043d\u0443 \u0438 \u043c\u043e\u0434\u0443\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <strong>\/usr\/local\/libexec\/lightsquid<\/strong>.<br \/>\n\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b <strong>\/usr\/local\/etc\/lightsquid\/lightsquid.cfg<\/strong> \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0432\u0438\u0434\u0443:<\/p>\n<p><code>$cfgpath =\"\/usr\/local\/etc\/lightsquid\";<br \/>\n$tplpath =\"\/usr\/local\/www\/lightsquid\/tpl\";<br \/>\n$langpath =\"\/usr\/local\/share\/lightsquid\/lang\";<br \/>\n$reportpath =\"\/usr\/local\/www\/lightsquid\/report\";<br \/>\n$logpath =\"\/var\/log\/squid\/stat\";<br \/>\n$ip2namepath =\"\/usr\/local\/libexec\/lightsquid\";<br \/>\n$debug = 0;<br \/>\n$debug2 = 0;<br \/>\n$squidlogtype = 0;<br \/>\n$ip2name=\"squidauth\";<br \/>\n$timereport = 1;<br \/>\n$lang =\"ru-koi8\";<br \/>\n$templatename =\"base\";<br \/>\n$showgrouplink = 0;<br \/>\n$userealname = 0;<\/code><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p><code>#\/usr\/local\/www\/lightsquid\/check-setup.pl<br \/>\nLightSquid Config Checker, (c) 2005-9 Sergey Erokhin GNU GPL<\/code><\/p>\n<p><code>LogPath : \/var\/log\/squid\/stat<br \/>\nreportpath: \/usr\/local\/www\/lightsquid\/report<br \/>\nLang : \/usr\/local\/share\/lightsquid\/lang\/ru-koi8<br \/>\nTemplate : \/usr\/local\/www\/lightsquid\/tpl\/base<br \/>\nIp2Name : \/usr\/local\/libexec\/lightsquid\/ip2name.squidauth<\/code><\/p>\n<p><code>all check passed, now try access to cgi part in browser<\/code><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0435\u0442 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043e\u0442\u0447\u0451\u0442\u043e\u0432. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0451\u0442\u044b \u043a\u0430\u0436\u0434\u044b\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 <strong>\/etc\/crontab<\/strong> \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<p><code>*\/30 * * * * root \/usr\/local\/www\/lightsquid\/lightparser.pl<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435. \u0421\u0430\u043c <strong>lightsquid<\/strong> \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0437\u0430\u0431\u043e\u0442\u0438\u0442\u044c\u0441\u044f \u0441\u0430\u043c\u0438\u043c. \u042f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 <strong>htaccess<\/strong>. \u0412\u043e\u0442, \u0447\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u00a0<strong>httpd.conf<\/strong>:<\/p>\n<p><code>Alias \/squid \"\/usr\/local\/www\/lightsquid\"<\/code><\/p>\n<p><code>&lt;Directory \"\/usr\/local\/www\/lightsquid\"&gt;<br \/>\nAddHandler cgi-script .cgi<br \/>\nAllowOverride None<br \/>\nOrder deny,allow<br \/>\nDeny from all<br \/>\nAllow from 10.1.0.0\/16<br \/>\nAddDefaultCharset koi8-r<br \/>\nOptions FollowSymLinks ExecCGI<br \/>\nDirectoryIndex index.cgi<br \/>\nAuthName \"Lightsquid Admin Panel\"<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/etc\/htpasswd<br \/>\nrequire valid-user<br \/>\n&lt;\/Directory&gt;<\/code><\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438:<\/p>\n<p><code>#htpasswd \/etc\/htpasswd admin<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 <strong>apach&#8217;a<\/strong> \u043c\u043e\u0436\u043d\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u044b\u043f\u0438 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443. \u041d\u041e! \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043c\u0435\u043d\u044f \u043b\u043e\u0433\u0438\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u0430\u043c\u043e\u0433\u043e <strong>lightsquid<\/strong> (\u0438\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u0441\u0447\u0451\u0442). \u0415\u0441\u043b\u0438 \u0436\u0435 \u0443 \u0432\u0430\u0441 \u043b\u043e\u0433\u0438\u043d\u044b \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432 &#8211; \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u044d\u0442\u0430\u043f.<\/p>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0443 \u043d\u0430\u0441 \u0434\u043e\u043c\u0435\u043d\u043d\u0430\u044f, \u0442\u043e \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0444\u0430\u0439\u043b <strong>ip2name.squidauth<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 <strong>\/usr\/local\/libexec\/lightsquid<\/strong>. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0438 \u043f\u043e\u0441\u043b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<p><code>$user \u00a0 \u00a0=URLDecode($user); #decode user name<\/code><\/p>\n<p>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0430\u043a\u0443\u044e<\/p>\n<p><code>$user =~ s\/\\s\/_\/g;<\/code><\/p>\n<p>\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044b \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f. \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c. \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451.<\/p>\n<p>\u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 <strong>lightsquid&#8217;a<\/strong> \u043d\u0435 \u0431\u0443\u0434\u0443, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0443\u0439\u0442\u0438 \u043d\u0435 \u043e\u0434\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f. \u0414\u0430 \u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u0432 \u043d\u0451\u043c \u043d\u0435\u0442 &#8211; \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u043d\u0430 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0435 \u0443\u0439\u0434\u0451\u0442 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 15 \u043c\u0438\u043d\u0443\u0442.<\/p>\n<p><strong><span style=\"color: #ff0000;\">5) \u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/span><\/strong><\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438 \u043f\u0440\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445. \u041f\u0440\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0431\u0440\u043e\u0443\u0437\u0435\u0440\u043e\u0432 \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e <a href=\"\/?p=422\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u0433\u0434\u0435 \u0440\u0430\u0441\u043a\u0440\u044b\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u043f\u0443\u0442\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>6) \u0420\u0430\u0437\u043d\u043e\u0435<\/strong><\/span><\/p>\n<p>https:\/\/habr.com\/post\/347212\/<\/p>\n<p>http:\/\/www.delayer.org\/2015\/06\/squid-samba4-kerberos-authorization.html<\/p>\n<p>https:\/\/habr.com\/ru\/articles\/1016422\/ &#8211; \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a Squid \u043f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 Kerberos MS AD DC<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u043e\u043c\u0435\u043d \u043d\u0430 ActiveDirectory \u0438 \u0448\u043b\u044e\u0437 \u043d\u0430 FreeBSD. \u0418 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u0430\u043c (\u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0442 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f \ud83d\ude42 ) \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0434\u043e\u043c\u0435\u043d. \u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c: \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043c\u0435\u043d\u0430 ActiveDirectory \u043d\u0430 Windows 2008 (\u043b\u043e\u0433\u0438\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0435, \u0434\u0430 \u0435\u0449\u0451 \u0438 \u0441 \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438!), FreeBSD 8.1 amd64, \u043a\u043b\u0438\u0435\u043d\u0442\u044b Windows XP\/7<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12],"tags":[],"class_list":["post-522","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-routers"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=522"}],"version-history":[{"count":29,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":6741,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/522\/revisions\/6741"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}