<?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; SQUID + LDAP фильтрация по группам]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=6972</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=6972&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «SQUID + LDAP фильтрация по группам».]]></description>
		<lastBuildDate>Fri, 01 Oct 2010 04:18:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SQUID + LDAP фильтрация по группам]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=96843#p96843</link>
			<description><![CDATA[<p>Проблема решена, помощи не дождался.<br />Не легко ездить верхом, если впервые увидел жирафа)</p><p>Совсем забыл, если кому интересно. Проблема в фильтре была</p><p>external_acl_type groups %LOGIN /usr/lib/squid/squid_ldap_group -P&nbsp; -b &quot;ou=Group,dc=soglasiesh,dc=ru&quot; -f &quot;(&amp;(memberUid=%v)(cn=%a))&quot; -v 3 -K<br />Вот так работает.</p>]]></description>
			<author><![CDATA[null@example.com (paranoik)]]></author>
			<pubDate>Fri, 01 Oct 2010 04:18:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=96843#p96843</guid>
		</item>
		<item>
			<title><![CDATA[SQUID + LDAP фильтрация по группам]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=96024#p96024</link>
			<description><![CDATA[<p>Добрый день, подскажите пожалуйста, не могу понять.<br />Есть сервер, на наем поднят openldap и squid 3.5, Заведены группы пользователей std(Студенты) teacher(Учителя). Хотелось ограничить учеников списком сайтов из файла. Но вот беда, Без разницы из под кого логиниться, если хотя бы одной группе разрешен выход в инет, то другая группа тоже пройдет.<br />Пример настроек сквида</p><p>#####Server settings<br />http_port 192.168.1.1:3128<br />visible_hostname LinuxSRV.SQUID<br />auth_param basic program /usr/lib/squid/squid_ldap_auth -u cn -b &quot;dc=soglasiesh,dc=ru&quot; -f &quot;(uid=%s)&quot; -v 3<br />#####End Server settings<br />###################################################################</p><br /><p>##### ACL List<br />acl mynet src 192.168.1.0/24<br />external_acl_type squidgroup %LOGIN /usr/lib/squid/squid_ldap_group -P -B &quot;ou=People,dc=soglasiesh,dc=ru&quot; -F &quot;(&amp;(uid=%s)(objectClass=posixAccount))&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-b &quot;ou=Group,dc=soglasiesh,dc=ru&quot; -f &quot;(&amp;(cn=%g)(objectClass=posixGroup))&quot; -v 3 -K<br />acl stdgroup external squidgroup std<br />acl adm external squidgroup wheel<br />#acl whitestudents url_regex &quot;/etc/squid/access/whitestudents&quot;<br />##### End ACL List<br />###################################################################</p><p>http_access allow adm<br />http_access deny stdgroup<br />http_access deny all</p>]]></description>
			<author><![CDATA[null@example.com (paranoik)]]></author>
			<pubDate>Tue, 28 Sep 2010 03:54:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=96024#p96024</guid>
		</item>
	</channel>
</rss>
