<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Debian Squeeze + Samba + AD + Squid]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=18420</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18420&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Debian Squeeze + Samba + AD + Squid».]]></description>
		<lastBuildDate>Wed, 12 Dec 2012 04:30:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=314089#p314089</link>
			<description><![CDATA[<p>Думаю нужно знать некоторые полезные команды при настройке squid:<br />после редактирования конфига обязательно используйте вот эту команду: squid -k parse, она проверит файл на наличие синтаксических ошибок. Для того, чтобы squid применил внесенные в конфиг изменения без перезапуска самого &quot;себя&quot;)), т.е просто перечитал свой конфиг и применил изменения, делаем так:</p><p>squid -k reconfigure.</p><p>Я кстати написал о том, как я настраивал squid на работы с AD вот ссылка <a href="http://www.artcom-ufa.ru/posts/2012/07/28/nastroika-squid">http://www.artcom-ufa.ru/posts/2012/07/ … oika-squid</a></p>]]></description>
			<author><![CDATA[null@example.com (k0rven)]]></author>
			<pubDate>Wed, 12 Dec 2012 04:30:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=314089#p314089</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=244368#p244368</link>
			<description><![CDATA[<p><strong>Kettler</strong>, гляньте пожалуйста конфиг Squid, нет ли в нем ошибок?<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">####### Configuration File #######<br />####### cache manager<br />cache_mgr administrator@pharmlider.loc</p><p>####### kerberos authentication<br />auth_param negotiate program /usr/lib/squid3/squid_kerb_auth -d -s HTTP/appserver.pharmlider.loc<br />auth_param negotiate children 10<br />auth_param negotiate keep_alive on</p><p>####### provide access via ldap for clients not authenticated via kerberos<br />auth_param basic program /usr/lib/squid3/squid_ldap_auth -R \<br />&nbsp; &nbsp; -b &quot;dc=pharmlider,dc=loc&quot; \<br />&nbsp; &nbsp; -D administrator@pharmlider.loc \<br />&nbsp; &nbsp; -w &quot;p@ssw0rd&quot; \<br />&nbsp; &nbsp; -f sAMAccountName=%s \<br />&nbsp; &nbsp; -h taraz.pharmlider.loc<br />auth_param basic children 10<br />auth_param basic realm Internet Proxy<br />auth_param basic credentialsttl 1 minute</p><p>####### ldap authorizations<br /># restricted proxy access logged<br />external_acl_type internet_users %LOGIN /usr/lib/squid3/squid_ldap_group -R -K \<br />&nbsp; &nbsp; -b &quot;dc=pharmlider,dc=loc&quot; \<br />&nbsp; &nbsp; -D administrator@pharmlider.loc \<br />&nbsp; &nbsp; -w &quot;p@ssw0rd&quot; \<br />&nbsp; &nbsp; -f &quot;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=Internet Users log,ou=Security Groups,ou=Taraz Users,dc=pharmlider,dc=loc))&quot; \<br />&nbsp; &nbsp; -h taraz.pharmlider.loc<br /># full proxy access no logging<br />external_acl_type internet_users_full_nolog %LOGIN /usr/lib/squid3/squid_ldap_group -R -K \<br />&nbsp; &nbsp; -b &quot;dc=pharmlider,dc=loc&quot; \<br />&nbsp; &nbsp; -D administrator@pharmlider.loc \<br />&nbsp; &nbsp; -w &quot;p@ssw0rd&quot; \<br />&nbsp; &nbsp; -f &quot;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=Internet Users Full nolog,ou=Security Groups,ou=Taraz Users,dc=pharmlider,dc=loc))&quot; \<br />&nbsp; &nbsp; -h taraz.pharmlider.loc<br /># full proxy access logged<br />external_acl_type internet_users_full_log %LOGIN /usr/lib/squid3/squid_ldap_group -R -K \<br />&nbsp; &nbsp; -b &quot;dc=pharmlider,dc=loc&quot; \<br />&nbsp; &nbsp; -D administrator@pharmlider.loc \<br />&nbsp; &nbsp; -w &quot;p@ssw0rd&quot; \<br />&nbsp; &nbsp; -f &quot;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=Internet Users Full log,ou=Security Groups,ou=Taraz Users,dc=pharmlider,dc=loc))&quot; \<br />&nbsp; &nbsp; -h taraz.pharmlider.loc</p><p>####### acl for proxy auth and ldap authorizations<br />acl auth proxy_auth REQUIRED<br /># format &quot;acl, aclname, acltype, acltypename, activedirectorygroup&quot;<br />acl RestrictedAccessLog external internet_users Internet\ Users\ log<br />acl FullAccessNoLog external internet_users_full_nolog Internet\ Users\ Full\ nolog<br />acl FullAccessLog external internet_users_full_log Internet\ Users\ Full\ log<br />acl whitelistsites url_regex -i &quot;/etc/squid3/whitelist.list&quot;<br />acl blockedsites url_regex -i &quot;/etc/squid3/blocklist.list&quot;</p><p>####### squid defaults<br />acl manager proto cache_object<br />acl localhost src 127.0.0.1/32 ::1<br />acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1<br />acl SSL_ports port 443<br />acl Safe_ports port 80&nbsp; &nbsp; &nbsp; &nbsp; # http<br />acl Safe_ports port 21&nbsp; &nbsp; &nbsp; &nbsp; # ftp<br />acl Safe_ports port 443&nbsp; &nbsp; &nbsp; &nbsp; # https<br />acl Safe_ports port 70&nbsp; &nbsp; &nbsp; &nbsp; # gopher<br />acl Safe_ports port 210&nbsp; &nbsp; &nbsp; &nbsp; # wais<br />acl Safe_ports port 1025-65535&nbsp; &nbsp; # unregistered ports<br />acl Safe_ports port 280&nbsp; &nbsp; &nbsp; &nbsp; # http-mgmt<br />acl Safe_ports port 488&nbsp; &nbsp; &nbsp; &nbsp; # gss-http<br />acl Safe_ports port 591&nbsp; &nbsp; &nbsp; &nbsp; # filemaker<br />acl Safe_ports port 777&nbsp; &nbsp; &nbsp; &nbsp; # multiling http<br />acl CONNECT method CONNECT<br />http_access allow manager localhost<br />http_access deny manager<br />http_access deny !Safe_ports<br />http_access deny CONNECT !SSL_ports<br />http_access allow localhost</p><p>####### enforce auth: order of rules is important for authorization levels<br />no_cache deny whitelistsites<br />http_access allow whitelistsites<br />http_access allow FullAccessNoLog auth<br />http_access allow FullAccessLog auth<br />http_access deny blockedsites<br />http_access allow RestrictedAccessLog auth</p><p>####### logging<br /># don&#039;t log whitelistsites, FullAccessNoLog<br />access_log /var/log/squid3/access.log squid !whitelistsites !FullAccessNoLog</p><p>####### squid defaults<br />http_access deny all<br />http_port 3128<br />hierarchy_stoplist cgi-bin ?<br />coredump_dir /var/spool/squid3<br />refresh_pattern ^ftp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1440&nbsp; &nbsp; 20%&nbsp; &nbsp; 10080<br />refresh_pattern ^gopher:&nbsp; &nbsp; &nbsp; &nbsp; 1440&nbsp; &nbsp; 0%&nbsp; &nbsp; 1440<br />refresh_pattern -i (/cgi-bin/|\?)&nbsp; &nbsp; 0&nbsp; &nbsp; 0%&nbsp; &nbsp; 0<br />refresh_pattern .&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; 20%&nbsp; &nbsp; 4320</div></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Thu, 19 Jan 2012 15:25:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=244368#p244368</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=244270#p244270</link>
			<description><![CDATA[<p><strong>Kettler</strong>, ок спасибо, буду пробовать.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Thu, 19 Jan 2012 11:10:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=244270#p244270</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=244189#p244189</link>
			<description><![CDATA[<p>точно не помню но вроде работает под пользователем proxy</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 19 Jan 2012 05:04:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=244189#p244189</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=244182#p244182</link>
			<description><![CDATA[<p><strong>Kettler</strong>, еще один вопрос. При установке Squid3 должен добавляться пользователь squid? А то чего-то не нашел ни пользователя, ни группы.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Thu, 19 Jan 2012 02:11:52 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=244182#p244182</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237504#p237504</link>
			<description><![CDATA[<p><strong>Kettler</strong>, а что, samba3 нельзя ввести как дополнительный контроллер домена?</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Mon, 26 Dec 2011 04:30:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237504#p237504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237502#p237502</link>
			<description><![CDATA[<p>по поводу как &quot;дополнительный контроллер домена&quot;&nbsp; я жду samba 4</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Mon, 26 Dec 2011 04:23:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237502#p237502</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237501#p237501</link>
			<description><![CDATA[<p><strong>Kettler</strong>, не подскажете по команде <strong><em>net</em></strong>? Вроде как команда <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">net ads join -U samba</div><br />Присоединяет к домену как пользователя домена, а как можно присоединить как дополнительный контроллер домена?</p><p><strong>pgserious</strong>, а не могли бы вы пояснить тонкости ввода Debian в домен AD? Правда в моем случае это?<br /><em>Windows Server 2003</em> - как основной контроллер домена<br /><em>Debian Squezee 6.0.3</em> - как дополнительный контроллер домена, на нем Squid3 и Samba3 с последними обновлениями.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Mon, 26 Dec 2011 04:09:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237501#p237501</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237499#p237499</link>
			<description><![CDATA[<div class="quotebox"><cite>pgserious пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Всё проверенно на debian 6 но говорю сразу глюки есть squid + ad (я отказался от затеи)</p></blockquote></div><p>На предприятии работает связка AD (WinServer 2008), samba 3.5.6, debian 6, squid 2.7. Проблемы только с наследованием прав на сетевом диске самбы. Squid работает без нареканий (интернет раздаётся в зависимости от группы в AD).<br />Связка работает уже полгода.</p></blockquote></div><p>Скок клиентов?</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Mon, 26 Dec 2011 04:06:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237499#p237499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237371#p237371</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Всё проверенно на debian 6 но говорю сразу глюки есть squid + ad (я отказался от затеи)</p></blockquote></div><p>На предприятии работает связка AD (WinServer 2008), samba 3.5.6, debian 6, squid 2.7. Проблемы только с наследованием прав на сетевом диске самбы. Squid работает без нареканий (интернет раздаётся в зависимости от группы в AD).<br />Связка работает уже полгода.</p>]]></description>
			<author><![CDATA[null@example.com (pgserious)]]></author>
			<pubDate>Sun, 25 Dec 2011 18:40:43 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237371#p237371</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237339#p237339</link>
			<description><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Перевёл сквид на групповую политику посмотрим дня 2 что выйдет</p></blockquote></div><p>Работает?</p></blockquote></div><p>тот же гемор. Плюнюл.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Sun, 25 Dec 2011 16:39:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237339#p237339</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237335#p237335</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Перевёл сквид на групповую политику посмотрим дня 2 что выйдет</p></blockquote></div><p>Работает?</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Sun, 25 Dec 2011 15:35:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237335#p237335</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=237334#p237334</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Проверим аутентификацию</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">wbinfo –authenticate=RA\\ADMIN%PASS</p><p>plaintext password authentication succeeded<br />challenge/response password authentication succeeded<br /></div></p><p>Если у вас такие же результаты, то поздравляю, самбу мы настроили. Теперь осталось только указать пользователя, от имени которого будет проходить аутентификация.</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">net setauthuser -U RA\\ADMIN[%PASS]</div></p><p>Проверяем</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">net help getauthuser</p><p>RA\RA\ADMIN[%PASS]</div></p></blockquote></div><p>А что подразумевается под:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">\\ADMIN%PASS</div>И нужны ли квадратные скобки?</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Sun, 25 Dec 2011 15:30:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=237334#p237334</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=234795#p234795</link>
			<description><![CDATA[<p>ну тогда гугли) я и за этого окна и отказался от такой конфигурации.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 14 Dec 2011 12:52:55 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=234795#p234795</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=234794#p234794</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Я через LDAP не силён но пробуй закоментировать.</p></blockquote></div><p>Вообще перестало работать.</p>]]></description>
			<author><![CDATA[null@example.com (Nigelist)]]></author>
			<pubDate>Wed, 14 Dec 2011 12:52:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=234794#p234794</guid>
		</item>
	</channel>
</rss>
