<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips and Tux &#187; active directory</title>
	<atom:link href="http://www.tipsandtux.org/wordpress/tag/active-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tipsandtux.org/wordpress</link>
	<description>di Linux, Foto, Piante Carnivore e non solo... il informatipapàliticarnivoro</description>
	<lastBuildDate>Fri, 13 Jan 2012 10:15:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sanbolic MelioFS in a (dobule) VMware Enviroment</title>
		<link>http://www.tipsandtux.org/wordpress/sanbolic-meliofs-in-a-dobule-vmware-enviroment.html</link>
		<comments>http://www.tipsandtux.org/wordpress/sanbolic-meliofs-in-a-dobule-vmware-enviroment.html#comments</comments>
		<pubDate>Tue, 10 Jan 2012 21:48:58 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Sistemi]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[winzoz]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=362</guid>
		<description><![CDATA[Objectives: on reduntant UNC in Active Directory domain redundant volume redundant computer virtual enviroment data continuity Solution: two virtual machines two datastore two san two sites mirror data volume Schema: &#160; “hardware” configuration: VMs settings: Add VMware RDM Lun Volumes to Vms, as images before Melio installation: prerequisites (from MelioFs 4 User Guide) Installation Checklist: * Using an account with [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;">Objectives:</span><br />
on reduntant UNC in Active Directory domain<br />
redundant volume<br />
redundant computer<br />
virtual enviroment<br />
data continuity</p>
<p><span style="text-decoration: underline;">Solution:</span><br />
two virtual machines<br />
two datastore<br />
two san<br />
two sites<br />
mirror data volume</p>
<p><span style="text-decoration: underline;">Schema:</span></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;">“hardware” configuration:</span></p>
<p><span style="text-decoration: underline;">VMs settings:</span><br />
Add VMware RDM Lun Volumes to Vms, as images before<br />
Melio installation:<br />
prerequisites (from MelioFs 4 User Guide)<br />
Installation Checklist:</p>
<p>* Using an account with local administrator privileges, log on to the system in which Melio is going to be installed. → create a Domain Users in Active Directory, then it will be a local machine Administrator<br />
* Verify that the Windows Management Instrumentation (WMI) service is running.<br />
* Verify that the system has IP connectivity to the network that will be used for Melio<br />
communications. → VM has two nic VMXNET3, one in LAN, one is a separated not routed LAN, where multicast can “run”; remember to set, in Windows, preference in advanced option for nic LAN before the “MelioLan”<br />
* Using the instructions provided by the manufacturer of your storage hardware, install and<br />
connect your storage hardware to the servers that will be running Melio. Once you’ve<br />
confirmed the storage hardware is operating correctly, create one or more LUNs and map<br />
them to the servers. Check the event logs on the servers for any storage connection-related<br />
error messages and resolve all reported errors prior to installing Melio.<br />
* Verify that the LUN(s) to be formatted with Melio FS is seen by Windows. To accomplish this, open a DOS prompt and enter the following commands: → do not disable autmount; then verify they are not offline<br />
o diskpart &lt;enter&gt;<br />
o list disk &lt;enter&gt;<br />
You should see the LUN(s) in the list of disks. If not, check the connection(s) between the<br />
server(s) and the storage and confirm that the LUN(s) has been mapped to the server(s) from<br />
the storage.<br />
Verify that the LUN(s) to be formatted with Melio FS is not configured for “Read-only” mode.<br />
To accomplish this, enter the following commands in diskpart:<br />
o select disk # &lt;enter&gt; (# equals the number assigned to the LUN)<br />
o attributes disk &lt;enter&gt;<br />
If the LUN(s) is set to “Read-only” mode, enter the following commands:<br />
o attributes disk clear readonly &lt;enter&gt;<br />
o attributes disk &lt;enter&gt;<br />
The LUN(s) should now appear with “Read-only” set to “No”.</p>
<p>Installation<br />
From pag.8 MelioFS 4 User Guide pdf<br />
Make a custom installation with only Melio and MelioFs volume Manager</p>
<p>Advanced Setting (tuning MelioFS)<br />
See pag. 21 MelioFS 4 User Guide<br />
Additional parameters can be configured within the Melio Configuration utility (Start &gt; All Programs &gt; Sanbolic &gt; Melio Configuration).<br />
Important note: The default parameters and values for Melio are designed to work under the majority of configurations. Modifications made to any of the parameters described below should not be made without first conferring with Sanbolic Technical Support.<br />
Configuring TCP/IP settings for Melio<br />
Melio uses both TCP and UDP protocols for communications between Melio instances running on all machines participating in a Melio cluster.<br />
The subnets that appear under the Network settings (“View &gt; Driver Settings &gt; Network”) in the Melio Volume Manger console are used to select the subnet ranges (network interfaces) on which Melio will listen. This ensures that Melio is compatible with DHCP servers that may assign a computer different IP addresses.<br />
If a machine has more than one IP address (active network interface), a subnet range address should be selected. Selecting a subnet range for Melio is done on a per machine basis by opening the Melio Volume Manager, selecting a computer on the left-hand side of the console and selecting “View &gt; Driver Settings &gt; Network” from the toolbar at the top of the console. If a machine has only one IP address, you can leave the default subnet range setting “0.0.0.0/0”.<br />
Melio uses the specified multicast address to find other cluster members. Each Melio instance listens on the multicast address at the port specified under the Network settings. In order for Melio to form a cluster with machines located on different subnets, all intermediate routers must be configured to forward multicast packets between subnets.<br />
MelioFS Volume Configuration<br />
See pag. 14 MelioFS 4 User Guide<br />
Note: Prior to managing a disk with Melio Volume Manager, at least one partition (LUN) on your SAN storage must be provisioned and presented (mapped) to every computer running the Melio software.<br />
Launch the Melio Volume Manager (Start &gt; All Programs &gt; Sanbolic &gt; Melio Volume Manager).<br />
By default, the local computer running Melio will be displayed on the left-hand side of the Melio Volume Manager console.<br />
Right-click on the disk label (where it says “Empty”) in the center window pane and select “Manage” to manage a single disk or “Manage Multiple” to manage multiple disks.<br />
A pop-up window will appear asking you to select the disk(s) that you want Melio Volume Manager to manage.<br />
Note: Unless advised by Sanbolic Technical Support, you should NOT make any changes to the values of the parameters listed under the “Timings” section. The default values are designed to work under the majority of use cases. (Descriptions for these parameters are provided later in this manual.)<br />
Select the disk(s) to manage and click “OK.”<br />
Note: If you are going to use the entire capacity of the disk(s) to create your Melio shared volume, you can select the option “Automatically create full-size basic partition on each disk”. Additionally, if you are going to create a stripe set using the selected disks, you can select the option “And stripe them”.<br />
If you are going to use only a portion of the disk(s) or plan to use the disk(s) to create a volume set or mirror set, simply click “OK”.<br />
Note: After clicking “OK” to manage the selected disk(s), a message will appear informing the user that the process of managing the disk(s) will take approximately five minutes.<br />
It is important to note that the process of managing a disk can take as long as 10 minutes due to the number of tasks involved, regardless of the number of disks selected or the size of the disk(s).<br />
Please do not attempt to cancel this process until it has completed successfully.<br />
After the process of managing the disk(s) has completed, the following screen is displayed.<br />
To create a partition on a managed disk, right-click on the disk (where it shows “Empty”) and select “New.”<br />
Leave the size as it appears to create a partition using the entire available disk space or specify the desired partition size by entering numbers in the “Size” field or using the red slider bar.<br />
Enter a label for the partition. (Optional)<br />
When you are ready to create the partition, click “OK”.<br />
Once this step is completed, the new partition will appear in blue in the upper center window pane. A blue partition indicates that the partition is ready to be created. (See illustration on following page.)<br />
To create the partition, select “Action &gt; Apply Changes” from the toolbar or press F3.<br />
A pop-up window will be displayed asking for confirmation. Click “Yes”.<br />
Once the changes are committed to the disk, the color of the partition will change to black, indicating that the partition has been created.<br />
Now the partition can be converted to a logical drive (volume) that can be mounted and accessed by multiple computers simultaneously.<br />
Right-click on the partition in the upper center window pane and select “Create Logical Drive&#8230;”<br />
A dialog window will appear asking you to assign a drive letter to the new volume. The setting &#8220;Try to set this letter, if available, on each machine that has access to the volume&#8221; means the Melio Volume Manager will attempt to supply Windows with the same drive letter for this volume on all machines that will be sharing access to the volume. If the drive letter is already in use by a machine, Melio Volume Manager will assign the volume the next available drive letter on that particular machine. It is also possible to mount a Melio volume on an empty Melio FS or NTFS folder using mount points. To mount a volume on an empty folder, check the radio button labeled “Mount to an empty folder” and enter the path to the folder.<br />
Under “Initial Security,” leave the option “Give everyone full control” (default).<br />
Under “File System,” leave the option to format the volume with “Melio FS” (default).<br />
Enter a label for the volume in the “Volume Label:” field. (Optional)<br />
Click “OK” to create the volume. A window containing messages about the volume creation process will appear.<br />
Note: During the volume creation process, if Windows prompts you to format the volume, click “Cancel” as the volume is already being formatted with Melio FS.<br />
Note: If Windows prompts you to restart the machine, click “Cancel”. Restarting the machine is not necessary.<br />
If you receive a warning message about a non-signed driver being installed, click “Continue Anyway” to proceed with the driver installation.<br />
Once the volume has been created, a message will appear in the window stating that all steps have completed successfully. Click “OK” to close the window and return to the Melio Volume Manager.<br />
Notice: A disk that cannot be managed by the Melio Volume Manager is displayed as “Unknown” or “Foreign”. This indicates that another volume manager is actively managing the disk. To manage the disk with the Melio Volume Manager, it must first be unmanaged by the other volume manager. To accomplish this, you need to delete all partitions on the disk. If the disk is “dynamic,” you must convert it to a “basic” disk using Windows Disk Manager. Note that deleting partitions on a disk or converting a disk from dynamic to basic will delete all data stored on the associated volume. Make sure that any data you need is backed up to another volume PRIOR to deleting partitions or converting disks.<br />
MelioFS Mirrod Raid1 Configuration<br />
See pag. 21 MelioFS 4 User Guide<br />
Follow the instructions provided earlier to create at least two partitions managed by the Melio Volume Manager.<br />
Note: The partitions making up a mirror set must be exactly the same size.<br />
Right-click on one of the partitions and choose “Mirror” &gt; “Create&#8230;”<br />
In the “Make Mirror” window, select the other partition that will be used for the mirror and click “OK”.<br />
The mirror will appear in blue.<br />
From the toolbar, select “Action” &gt; “Apply Changes” to create the mirror set.<br />
The mirror will appear in orange, indicating that it is synchronizing.<br />
Once synchronization has completed, the mirror will appear in green.<br />
You can now create a logical drive (volume) on the mirror set.<br />
To make the mirror set visible to Windows as a logical drive (volume), follow the steps described previously to create a logical drive.<br />
Once the logical drive has been created, the mirror will resynchronize.<br />
After synchronization has completed, the logical drive (and its partitions) will appear in green, indicating it is ready for use<br />
Results:</p>
<p><span style="text-decoration: underline;">Windows DFS Configuration:</span><br />
Done MelioFS configuration, it&#8217;s time to make a share (or more) using Microsoft features:</p>
<p>http://technet.microsoft.com/en-us/library/bb727150.aspx</p>
<p>http://technet.microsoft.com/en-us/library/cc732863%28WS.10%29.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/sanbolic-meliofs-in-a-dobule-vmware-enviroment.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<enclosure url='http://www.tipsandtux.org/wordpress/wp-content/uploads/2012/01/melio-volume.jpg' length ='66757'  type='image/jpg' />	</item>
		<item>
		<title>Postfix: Verifica LDAP in real-time</title>
		<link>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html</link>
		<comments>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html#comments</comments>
		<pubDate>Mon, 01 Feb 2010 23:22:29 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=23</guid>
		<description><![CDATA[Nella ricezione della posta è opportuno che sia verificata prima di essere inoltrata al server di posta, ovvero che il destinatario esista. Già con questo &#8220;piccolo&#8221; controllo parte dello spam non viene consegnato e non va ad usare risorse utili sul nostro server. Quindi è fondamentale, assieme ad altri controlli, aggiungere questo tipo di verifica, per ottenere un servizio di [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		H4 { margin-bottom: 0.21cm } 		H4.western { font-family: "Helvetica"; font-size: 11pt; font-style: italic } 		H4.cjk { font-size: 11pt; font-style: italic } 		H4.ctl { font-size: 11pt; font-style: italic } --></p>
<p style="margin-bottom: 0cm;">Nella ricezione della posta è opportuno che sia verificata prima di essere inoltrata al server di posta, ovvero che il destinatario esista. Già con questo &#8220;piccolo&#8221; controllo parte dello spam non viene consegnato e non va ad usare risorse utili sul nostro server.</p>
<p style="margin-bottom: 0cm;">Quindi è fondamentale, assieme ad altri controlli, aggiungere questo tipo di verifica, per ottenere un servizio di posta migliore!</p>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Questa piccola guida è riferita all&#8217;uso di Postfix, con supporto ldap, in ambiente Gnu/Linux con server Exchange o Lotus Domino</span></p>
<p style="margin-bottom: 0cm;"><span id="more-23"></span></p>
<p><span style="text-decoration: underline;">Query LDAP verso Lotus Domino:</span></p>
<p style="margin-bottom: 0cm;">la sintassi per postfix da aggiungere in<em> /etc/postfix/main.c</em>f è :</p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_timeout = 10</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_search_base =</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_host = ip_del_server_di_posta_Domino</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_port = 389</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_query_filter = (mail=%s)</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_filter = %s</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_attribute = mail</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_scope = sub</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind = no</em></p>
<p style="margin-bottom: 0cm;"><em>relay_recipient_maps = ldap:ldap</em></p>
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><span style="text-decoration: underline;">Query Ldap verso M$crosoft Exchange:</span></p>
<p style="margin-bottom: 0cm;">mentre nel caso di server M$crosoft Exchange la sintassi da aggiungere in<em> /etc/postfix/main.cf </em>è:</p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_host = ip_del_server_di_posta_Exchange</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_search_base = dc=dominio,dc=it</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_version = 3</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind_dn = CN=postfix,CN=Users,DC=dominio,DC=it </em><span style="font-style: normal;">&lt;&#8211; utente, &#8220;base&#8221;, inserito in Active Directory per poter fare la query LDAP</span></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind_pw = utente_postfix_password</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_query_filter = (proxyAddresses=smtp:%s)</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_attribute = mail</em></p>
<p style="margin-bottom: 0cm;"><em>relay_recipient_maps = ldap:ldap</em></p>
<p style="margin-bottom: 0cm;"><em>smtpd_recipient_limit = 240</em></p>
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;">In entrambi i casi occorre salvare il file e riavviare il servizio Postfix.<em><br />
</em></p>
<p style="margin-bottom: 0cm;">
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autenticazione Squid against LDAP Active Directory</title>
		<link>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html</link>
		<comments>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:02:39 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=16</guid>
		<description><![CDATA[&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 &#8212;&#8211; ** Autentificazione utenti: ** $/usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&#38;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204 TEST: alessandro password OK * quindi in squid.conf: auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&#38;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204 + acl password proxy_auth REQUIRED + http_access allow password &#8212;&#8211; con [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 &#8212;&#8211;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione utenti: **</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$/usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">TEST:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">alessandro password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">OK</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* quindi in squid.conf:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212;&#8211; con squid &gt;2.6 e Active directory 2003 (testato con squid di ubuntu 7.04 e AD 2003 infonet) &#8212;&#8211;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione utenti: **</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$/usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">TEST:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">alessandro password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">OK</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*quindi in squid.conf:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione gruppi di Active directory: ***</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">prerequisito è che l&#8217;autentificazione utenti standard funzioni</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">(auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">external_acl_type GruppoDiRete %LOGIN /usr/lib/squid/squid_ldap_group -R -b &#8220;dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=Users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=Citrix,dc=infonetsolutions,dc=loc))&#8221; -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password-gruppi proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl AccessoInternet external GruppoDiRete Ctx_Internet  # QUEST&#8217;ULTIMO È IL GRUPPO IN AD</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow AccessoInternet</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212; Riferimenti: &#8212;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.squid-cache.org</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory</div>
<p>Ecco le informazioni per impostare l&#8217;autenticazione esplicita di un proxy Squid su GNU/Linux verso un server LDAP Active Directory.</p>
<p><span id="more-16"></span></p>
<p><strong>&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 (testato con Sles verso Ad 2003) &#8212;&#8211;</strong></p>
<p><em><span style="text-decoration: underline;">** Autenticazione utenti: **</span></em></p>
<p>inserire in squid.conf:</p>
<p><em>auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>http_access allow password</em></p>
<p><strong>&#8212;&#8211; con squid &gt;2.6 e Active directory 2003 (testato con squid di ubuntu 7.04 e SLES verso AD 2003) &#8212;-</strong></p>
<p><em><span style="text-decoration: underline;">** Autenticazione utenti: **</span></em></p>
<p>inserire in in squid.conf:</p>
<p><em>auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>http_access allow password</em></p>
<p><em><span style="text-decoration: underline;">** Autenticazione degli utenti e gruppi di Active directory: ***</span></em></p>
<p>con questa configurazione gli utenti oltre ad autenticare sè stessi devono anche appartenere ad un determinato gruppo di Active Directory per poter accedere ad internet tramite il proxy</p>
<p>(prerequisito è che l&#8217;autentificazione utenti standard funzioni)</p>
<p><em>auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squidr,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>external_acl_type GruppoDiRete %LOGIN /usr/lib/squid/squid_ldap_group -R -b &#8220;dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=Users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=SquidGroup,dc=dominio,dc=loc))&#8221; -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password-gruppi proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>acl AccessoInternet external GruppoDiRete SquidGroup  # QUEST&#8217;ULTIMO È IL GRUPPO IN AD</em></p>
<p>&amp;</p>
<p><em>http_access allow AccessoInternet</em></p>
<p>&#8212; Riferimenti: &#8212;</p>
<p>http://www.squid-cache.org</p>
<p>http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory</p>
<p><strong>ENJOY <img src='http://www.tipsandtux.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

