<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Debian Squeeze + Samba + AD + Squid]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18420&amp;type=atom" />
	<updated>2012-12-12T04:30:45Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18420</id>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=314089#p314089" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[k0rven]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12677</uri>
			</author>
			<updated>2012-12-12T04:30:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=314089#p314089</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=244368#p244368" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2012-01-19T15:25:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=244368#p244368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=244270#p244270" />
			<content type="html"><![CDATA[<p><strong>Kettler</strong>, ок спасибо, буду пробовать.</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2012-01-19T11:10:28Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=244270#p244270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=244189#p244189" />
			<content type="html"><![CDATA[<p>точно не помню но вроде работает под пользователем proxy</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2012-01-19T05:04:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=244189#p244189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=244182#p244182" />
			<content type="html"><![CDATA[<p><strong>Kettler</strong>, еще один вопрос. При установке Squid3 должен добавляться пользователь squid? А то чего-то не нашел ни пользователя, ни группы.</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2012-01-19T02:11:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=244182#p244182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237504#p237504" />
			<content type="html"><![CDATA[<p><strong>Kettler</strong>, а что, samba3 нельзя ввести как дополнительный контроллер домена?</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-12-26T04:30:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237504#p237504</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237502#p237502" />
			<content type="html"><![CDATA[<p>по поводу как &quot;дополнительный контроллер домена&quot;&nbsp; я жду samba 4</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-12-26T04:23:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237502#p237502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237501#p237501" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-12-26T04:09:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237501#p237501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237499#p237499" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-12-26T04:06:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237499#p237499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237371#p237371" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[pgserious]]></name>
				<uri>https://linuxforum.ru/profile.php?id=21145</uri>
			</author>
			<updated>2011-12-25T18:40:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237371#p237371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237339#p237339" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-12-25T16:39:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237339#p237339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237335#p237335" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Перевёл сквид на групповую политику посмотрим дня 2 что выйдет</p></blockquote></div><p>Работает?</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-12-25T15:35:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237335#p237335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=237334#p237334" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-12-25T15:30:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=237334#p237334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=234795#p234795" />
			<content type="html"><![CDATA[<p>ну тогда гугли) я и за этого окна и отказался от такой конфигурации.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-12-14T12:52:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=234795#p234795</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debian Squeeze + Samba + AD + Squid]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=234794#p234794" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Я через LDAP не силён но пробуй закоментировать.</p></blockquote></div><p>Вообще перестало работать.</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-12-14T12:52:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=234794#p234794</id>
		</entry>
</feed>
