<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; SQUID + LDAP фильтрация по группам]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=6972&amp;type=atom" />
	<updated>2010-10-01T04:18:47Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=6972</id>
		<entry>
			<title type="html"><![CDATA[Re: SQUID + LDAP фильтрация по группам]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=96843#p96843" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[paranoik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11377</uri>
			</author>
			<updated>2010-10-01T04:18:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=96843#p96843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SQUID + LDAP фильтрация по группам]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=96024#p96024" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[paranoik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11377</uri>
			</author>
			<updated>2010-09-28T03:54:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=96024#p96024</id>
		</entry>
</feed>
