<?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>:: syscallme ::</title>
	<atom:link href="http://syscallme.2bopen.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://syscallme.2bopen.org</link>
	<description>segfault of my memory leak</description>
	<lastBuildDate>Tue, 02 Mar 2010 11:10:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IE6 Funeral</title>
		<link>http://syscallme.2bopen.org/2010/03/02/ie6-funeral/</link>
		<comments>http://syscallme.2bopen.org/2010/03/02/ie6-funeral/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 11:03:16 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[funeral]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://syscallme.2bopen.org/?p=143</guid>
		<description><![CDATA[Sono un prode e felice utilizzatore di Google Apps, con più di un dominio e da più di un anno. Esattamente un mese fa da oggi mi arriva questo messaggio nella casella mail. Il mittente è Google, i destinatari sono tutti gli admin di (perlomeno) un dominio Google Apps:
Dear Google Apps admin,
In order to continue [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox" href="http://syscallme.2bopen.org/wp-content/uploads/2010/03/ie6funeral.png"><img class="size-medium wp-image-146 alignright" title="ie6funeral" src="http://syscallme.2bopen.org/wp-content/uploads/2010/03/ie6funeral-207x300.png" alt="" width="207" height="300" /></a>Sono un prode e felice utilizzatore di Google Apps, con più di un dominio e da più di un anno. Esattamente un mese fa da oggi mi arriva questo messaggio nella casella mail. Il mittente è Google, i destinatari sono tutti gli admin di (perlomeno) un dominio Google Apps:</p>
<blockquote><p><em>Dear Google Apps admin,</em></p>
<p><em>In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology.  This includes faster JavaScript processing and new standards like HTML5.  As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 ​as well as other older browsers that are not supported by their own manufacturers.</em></p></blockquote>
<p><span id="more-143"></span>E non è tutto: il messaggio continua con un ultimatum veramente incredibile!!!</p>
<blockquote><p><em>We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010.  After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.</em></p></blockquote>
<p>Amici, ce l&#8217;abbiamo fatta. Il browser più terrificante, inusabile, dittatoriale, scriteriato, brutto, vecchio, odiato da tutti i developers del globo terracquo, viene <strong>ufficialmente</strong> scaricato da Sua Maestà Google. Ci abbiamo messo PIU&#8217; di otto anni. Otto anni nei quali il mondo di internet è cambiato perlomeno ottocento volte, presentando perlomeno ottomila novità. Ma lui era rimasto lì, saldo, sul trono, come un sovrano vecchio e tiranno di cui non ci si riesce a liberare. Una svolta, per tutti. Una svolta che viene, però, da lontano.</p>
<p>Circa un anno fa, il 23 febbraio 2009, in tempi assolutamente non sospetti, un grido rompeva la pace dell&#8217;era di Re <em>Internet Explorer Sesto</em>: <strong>Calling Time on IE6</strong>!!! E a lanciarlo erano proprio i suoi sudditi: l&#8217;appello appare sulle pagine di <a href="http://www.netmag.co.uk/zine/discover-culture/calling-time-on-ie6" target="_blank"><em>.net magazine</em></a>! Il suo editore, <a href="http://www.danoliver.co.uk/" target="_blank">Dan Oliver,</a> è netto nel giudizio:</p>
<blockquote><p><em>The premise is simple: Internet Explorer 6 is an antiquated browser, does not support web standards, and because of this should be phased out. [...]<br />
So come on Microsoft, do us all a favour, and help us bury this horrible browser once and for all!</em></p></blockquote>
<p>Una chiusura che non sembrava ammettere repliche. Microsoft non sembra aver ascoltato il nostro eroe, ma qualcun altro si! Sei mesi più tardi, è Youtube a fare il passo. Questo è ciò che leggemmo in un&#8217;articolo di &#8220;fuego&#8221; su <a href="http://www.techradar.com/news/internet/official-youtube-to-stop-ie6-support-616309" target="_blank">TechRadar.com</a>:</p>
<blockquote><p><em>YouTube will no longer support Internet Explorer 6, TechRadar can confirm, with Google beginning to roll out warnings to those accessing the video site that they should update to a better browser. [...]<br />
IE6 is a much maligned program in the modern environment, even sparking a <a href="http://www.techradar.com/news/software/developers-issue-death-warrant-for-ie6-539017">campaign from .net magazine</a></em> to &#8216;kill&#8217; the browser.</p></blockquote>
<p>Fu il colpo di grazia.</p>
<p>Oggi siamo qui, a commentare un funerale in diretta, come suggeriscono quei geni di <a href="http://ie6funeral.com/" target="_blank">IEFuneral.com</a>. E il nostro commento, in queste ore di dolore e rammarico, ricordi e rimpianti può essere solo&#8230;</p>
<h2 style="text-align: center;">FINALMENTE!!!</h2>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;title=IE6+Funeral" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;title=IE6+Funeral" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;title=IE6+Funeral" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;T=IE6+Funeral" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;title=IE6+Funeral" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+IE6+Funeral+@+http://syscallme.2bopen.org/2010/03/02/ie6-funeral/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2010/03/02/ie6-funeral/&amp;t=IE6+Funeral" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2010/03/02/ie6-funeral/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My cat is plotting to kill you&#8230;</title>
		<link>http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/</link>
		<comments>http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:38:07 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://syscallme.2bopen.org/?p=139</guid>
		<description><![CDATA[Piccolo e brevissimo post che piacerà molto a tutti quelli che vivono con un gattino (più o meno &#8220;-ino&#8221;).
Fate un salto su questo sito
http://www.catswhothrowupgrass.com/kill.php
e date un&#8217;occhiata a tutti i pericoli che corriamo quotidianamente noi che ospitiamo un felino nelle nostre case!!  
Ho fatto anche il test e&#8230;



Bookmark It
















]]></description>
			<content:encoded><![CDATA[<p>Piccolo e brevissimo post che piacerà molto a tutti quelli che vivono con un gattino (più o meno &#8220;-ino&#8221;).</p>
<p>Fate un salto su questo sito</p>
<p><a href="http://www.catswhothrowupgrass.com/kill.php" target="_blank">http://www.catswhothrowupgrass.com/kill.php</a></p>
<p>e date un&#8217;occhiata a tutti i pericoli che corriamo quotidianamente noi che ospitiamo un felino nelle nostre case!! <img src='http://syscallme.2bopen.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Ho fatto anche il test e&#8230;</p>
<p><a href="http://www.heyquiz.com/quiz/cat_kill"><img src="http://www.heyquiz.com/bimage/14_83.jpg" alt="Is your cat plotting to kill you?" /></a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;title=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;title=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;title=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;T=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;title=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+My+cat+is+plotting+to+kill+you%26%238230%3B+@+http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/&amp;t=My+cat+is+plotting+to+kill+you%26%238230%3B" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2009/12/16/my-cat-is-plotting-to-kill-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installare Php 5.3.x in CentOs5</title>
		<link>http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/</link>
		<comments>http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 12:37:16 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Simple]]></category>
		<category><![CDATA[CentOs]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://syscallme.2bopen.org/?p=135</guid>
		<description><![CDATA[RedHat non da supporto per nessuna versione PHP più alta della 5.1.6 e oggettivamente, mettersi a compilare non è proprio il massimo della vita, considerando anche che poi, una volta finita la compilazione, ci troveremmo con tutte le dipendenze broken.
Di conseguenza CentOs (che segue pedissequamente i rilasci degli rpm-src RHEL), anche nella sua latest 5.4, [...]]]></description>
			<content:encoded><![CDATA[<p>RedHat non da supporto per nessuna versione PHP più alta della 5.1.6 e oggettivamente, mettersi a compilare non è proprio il massimo della vita, considerando anche che poi, una volta finita la compilazione, ci troveremmo con tutte le dipendenze <em>broken</em>.</p>
<p>Di conseguenza CentOs (che segue pedissequamente i rilasci degli rpm-src RHEL), anche nella sua latest 5.4, ti propone PHP 5.1.6 come versione standard. Il che ti può creare problemi se hai una applicazione che utilizza versioni più elevate (cosa molto comune se hai sviluppato qualcosa con Zend Framework).</p>
<p>Al chè ho pensato potesse essere utile scrivere due righe di guida per capire come aggiornare il sistema CentOs a versioni più recenti della 5.1.6.</p>
<p><span id="more-135"></span></p>
<p>Per installare una versione più &#8220;alta&#8221; di PHP potete utilizzare l&#8217;<a href="http://blog.famillecollet.com/post/2005/10/02/8-telechargement-installation-et-yum" target="_blank">RPM Repository gestito e mantenuto da Remi</a>.</p>
<p>Innanzitutto scaricatevi e installate gli rpm di riferimento in questo modo:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.fedora.redhat.com<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>epel<span style="color: #000000; font-weight: bold;">/</span>5<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>epel-release-5-3.noarch.rpm<br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rpms.famillecollet.com<span style="color: #000000; font-weight: bold;">/</span>enterprise<span style="color: #000000; font-weight: bold;">/</span>remi-release-5.rpm<br />
rpm <span style="color: #660033;">-Uvh</span> remi-release-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">*</span>.rpm epel-release-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">*</span>.rpm</div></div>
<p>Ora i repos sono installati sul vostro sistema ma non sono abilitati. Non c&#8217;è bisogno di farlo, potete gestirli direttamente da linea di comando. Ora aggiorniamo la nostra release di PHP.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum <span style="color: #660033;">--enablerepo</span>=remi update php</div></div>
<p>se non avete ancora installato PHP al posto della parolina &#8220;update&#8221; scrivete &#8220;install&#8221;.<br />
Ok il gioco è fatto, controllate la nuova versione in questo modo:</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>jessica ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># php -v</span><br />
PHP 5.3.1 <span style="color: #7a0874; font-weight: bold;">&#40;</span>cli<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>built: Nov <span style="color: #000000;">20</span> <span style="color: #000000;">2009</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">51</span>:<span style="color: #000000;">14</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <br />
Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1997</span>-<span style="color: #000000;">2009</span> The PHP Group<br />
Zend Engine v2.3.0, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1998</span>-<span style="color: #000000;">2009</span> Zend Technologies</div></div>
<p>Ok. Fatto! Enjoy <img src='http://syscallme.2bopen.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;title=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;title=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;title=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;T=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;title=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Installare+Php+5.3.x+in+CentOs5+@+http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/&amp;t=Installare+Php+5.3.x+in+CentOs5" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2009/12/07/installare-php-5-3-x-in-centos5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I vestiti nuovi dell&#8217;imperatore&#8230;</title>
		<link>http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/</link>
		<comments>http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 10:10:34 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://syscallme.bonsaimeme.net/?p=131</guid>
		<description><![CDATA[Come vedete il mio blog ha un nuovo vestito. Dopo più di un anno di &#8220;esistenza&#8221; mi sembrava doveroso cambiare qualcosa, migliorare e semplificare alcune funzionalità.
Ora wordpress è all&#8217;ultima versione rilasciata e per come è stato studiata la gestione dei moduli e del template sarà possibile tenerlo più o meno sempre aggiornato; Inoltre le parti [...]]]></description>
			<content:encoded><![CDATA[<p>Come vedete il mio blog ha un nuovo vestito. Dopo più di un anno di &#8220;esistenza&#8221; mi sembrava doveroso cambiare qualcosa, migliorare e semplificare alcune funzionalità.</p>
<p>Ora wordpress è all&#8217;ultima versione rilasciata e per come è stato studiata la gestione dei moduli e del template sarà possibile tenerlo più o meno sempre aggiornato; Inoltre le parti di &#8220;codice&#8221; e &#8220;comandi&#8221; all&#8217;interno dei miei post si vedono meglio. Le foto hanno la funzionalità lightbox e spero di aggiungere presto nuovi moduli wordpressiani e (di conseguenza) nuove funzionalità.</p>
<p>Per non dimenticare il viso &#8220;passato&#8221; del mio amico, ad imperitura memoria, qui ci metto un &#8220;santino&#8221; del &#8220;com&#8217;era&#8221;&#8230;</p>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 310px"><a href="http://syscallme.bonsaimeme.net/wp-content/uploads/2009/11/Screen-shot-2009-11-24-at-11.12.51-AM.png" rel="lightbox"><img class="size-medium wp-image-132" title="Il vecchio blog buonanima..." src="http://syscallme.bonsaimeme.net/wp-content/uploads/2009/11/Screen-shot-2009-11-24-at-11.12.51-AM-300x187.png" alt="Il vecchio blog buonanima..." width="300" height="187" /></a><p class="wp-caption-text">Il vecchio blog buonanima...</p></div>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;title=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;title=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;title=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;T=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;title=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B+@+http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/&amp;t=I+vestiti+nuovi+dell%26%238217%3Bimperatore%26%238230%3B" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2009/11/24/i-vestiti-nuovi-dellimperatore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bind9 in chroot su Centos 5.4</title>
		<link>http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/</link>
		<comments>http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 11:14:25 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Experience]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Medium]]></category>
		<category><![CDATA[Bind9]]></category>
		<category><![CDATA[CentOs]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Sicurezza]]></category>

		<guid isPermaLink="false">http://syscallme.2bopen.org/?p=58</guid>
		<description><![CDATA[Sono in serie positiva, altro giro altra corsa, altro post altro how-to. In queste (poche) righe che seguono, vedremo come installare e configurare un dominio sul popolare DNS Server Bind9 ospitato su una Centos 5.4 (latest release ad oggi) in chroot mode.
L&#8217;environment scelto, come detto, è una Centos, ma (a parte i posizionamenti dei files [...]]]></description>
			<content:encoded><![CDATA[<p>Sono in serie positiva, altro giro altra corsa, altro post altro how-to. In queste (poche) righe che seguono, vedremo come installare e configurare un dominio sul popolare DNS Server <a href="http://www.bind9.net/" target="_blank">Bind9</a> ospitato su una Centos 5.4 (latest release ad oggi) in <strong><a href="http://it.wikipedia.org/wiki/Chroot" target="_blank">chroot</a> mode</strong>.</p>
<p>L&#8217;environment scelto, come detto, è una Centos, ma (a parte i posizionamenti dei files e delle directory che può cambiare, la configurazione di Bind9 è piuttosto generica e quindi, la guida, può essere &#8220;traslata&#8221; facilmente anche su sistemi &#8220;debian-based&#8221;.</p>
<p><span id="more-58"></span><br />
Non è questo il luogo dove illustreremo le peculiarità e i vantaggi in termini di sicurezza che stanno dietro alla scelta di installare e configurare in modo che sia startato dal sistema in chroot. Googlando un po&#8217; troverete molte guide e manuali che vi possono spiegare tutto ciò.</p>
<p>Come primo passo installeremo i pacchetti necessari utilizzando yum</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #7a0874; font-weight: bold;">bind</span> bind-chroot bind-libs bind-utils caching-nameserver</div></div>
<p>Ad installazione conclusa spostiamoci nella directory /var/named/chroot/etc e cominciamo le configurazioni</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>named<span style="color: #000000; font-weight: bold;">/</span>chroot<span style="color: #000000; font-weight: bold;">/</span>etc<br />
rndc-confgen <span style="color: #000000; font-weight: bold;">&gt;</span> rndc.key<br />
<span style="color: #c20cb9; font-weight: bold;">chown</span> root:named rndc.key</div></div>
<p>Controllate che il file <strong>rndc.key</strong> appaia così:</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Start of rndc.conf</span><br />
key <span style="color: #ff0000;">&quot;rndckey&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
algorithm hmac-md5;<br />
secret <span style="color: #ff0000;">&quot;n0nV8Jd1nbAby8m3yJMmUw==&quot;</span>;<br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</div></div>
<p>Non vi occorre nient&#8217;altro, quindi potete anche rimuovere le altre righe che troverete nel file.<br />
Date un&#8217;occhiata all&#8217;interno di /etc: dovreste avere un symlink all&#8217;rndc.key. E&#8217; importante che questo symlink esista e dovrebbe essere correttamente creato da yum durante la fase di spacchettamento dell&#8217;rpm. Se, tuttavia, così non fosse preoccupatevi di crearlo, perchè poi il demone <strong>named</strong> si aspetta di trovarlo lì&#8230;è bene che non lo deludiate.</p>
<p>Ora configuriamo il file named.conf</p>
<div class="codecolorer-container php blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// qui includiamo l'rndc.key con un bel copia-incolla</span><br />
<a href="http://www.php.net/key"><span style="color: #990000;">key</span></a> <span style="color: #0000ff;">&quot;rndckey&quot;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; algorithm hmac<span style="color: #339933;">-</span><a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; secret <span style="color: #0000ff;">&quot;n0nV8Jd1nbAby8m3yJMmUw==&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// assumiamo che il nostro dns server abbia l'ip 192.168.13.75 </span><br />
<span style="color: #666666; font-style: italic;">// e serva la subnet 192.168.13.0/24. Ovviamente customizzate in </span><br />
<span style="color: #666666; font-style: italic;">// base alle vostre esigenze</span><br />
controls <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; inet 127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1 allow <span style="color: #009900;">&#123;</span> 127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> keys <span style="color: #009900;">&#123;</span> <span style="color: #0000ff;">&quot;rndckey&quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; inet 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>75 allow <span style="color: #009900;">&#123;</span> 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>0<span style="color: #339933;">/</span><span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> keys <span style="color: #009900;">&#123;</span> <span style="color: #0000ff;">&quot;rndckey&quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
options <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; directory <span style="color: #0000ff;">&quot;/var/named&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; pid<span style="color: #339933;">-</span><a href="http://www.php.net/file"><span style="color: #990000;">file</span></a> <span style="color: #0000ff;">&quot;/var/run/named/named.pid&quot;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; recursion yes<span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; allow<span style="color: #339933;">-</span>recursion <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>0<span style="color: #339933;">/</span><span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// inserite i vostri dns server. </span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Io ho messo quelli di OpenDns</span><br />
&nbsp; &nbsp; forwarders <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 208<span style="color: #339933;">.</span>67<span style="color: #339933;">.</span>222<span style="color: #339933;">.</span>222<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 208<span style="color: #339933;">.</span>67<span style="color: #339933;">.</span>220<span style="color: #339933;">.</span>220<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; listen<span style="color: #339933;">-</span>on <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>75<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp;* Se avete un firewall fra voi e i nameservers &nbsp;<br />
&nbsp; &nbsp; &nbsp;* che dovete contattare potreste aver bisogno <br />
&nbsp; &nbsp; &nbsp;* di scommentare la direttiva query-source che <br />
&nbsp; &nbsp; &nbsp;* trovate qui sotto. &nbsp;Versioni precedenti di Bind <br />
&nbsp; &nbsp; &nbsp;* facevano sempre query attraverso la porta 53, <br />
&nbsp; &nbsp; &nbsp;* ma da BIND 8.1 viene utilizzata una porta<br />
&nbsp; &nbsp; &nbsp;* non privilegiata (sopra la 1024) di default.<br />
&nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; &nbsp;query<span style="color: #339933;">-</span>source address <span style="color: #339933;">*</span> port <span style="color: #cc66cc;">53</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// questa istruzione è per non rendere pubblica </span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// la versione di bind utilizzata</span><br />
&nbsp; &nbsp; version <span style="color: #0000ff;">&quot;REFUSED&quot;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; allow<span style="color: #339933;">-</span>query <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>0<span style="color: #339933;">/</span><span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
server 192<span style="color: #339933;">.</span>168<span style="color: #339933;">.</span>13<span style="color: #339933;">.</span>75 <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; keys <span style="color: #009900;">&#123;</span> rndckey<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
zone <span style="color: #0000ff;">&quot;.&quot;</span> IN <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; type hint<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/file"><span style="color: #990000;">file</span></a> <span style="color: #0000ff;">&quot;named.ca&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Questa è la zona del nostro dominio</span><br />
zone <span style="color: #0000ff;">&quot;example.com&quot;</span> IN <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; type master<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/file"><span style="color: #990000;">file</span></a> <span style="color: #0000ff;">&quot;data/example.com.zone&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; allow<span style="color: #339933;">-</span>update <span style="color: #009900;">&#123;</span> none<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// per abilitare il master/slave scommenta sotto</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// allow-transfer { 192.168.13.76; };</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></div></div>
<p>Ok: ora configuriamo la nostra zona. Per farlo creiamo il file /var/named/chroot/var/named/data/example.com.zone. Sarà qualcosa che appare più o meno così:</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">$ttl</span> 38400<br />
example.com. &nbsp; &nbsp;IN &nbsp; &nbsp;SOA &nbsp; &nbsp; ns.example.com. admin.example.com. <span style="color: #7a0874; font-weight: bold;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2009102402 &nbsp; &nbsp;; Serial<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10800 &nbsp; &nbsp; &nbsp; &nbsp; ; Refresh after 3 hours<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3600 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Retry after 1 hour<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;604800 &nbsp; &nbsp; &nbsp; &nbsp;; Expire after 1 week<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;86400 <span style="color: #7a0874; font-weight: bold;">&#41;</span> &nbsp; &nbsp; &nbsp; ; Minimum TTL of <span style="color: #000000;">1</span> day<br />
<br />
example.com. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;NS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ns.example.com.<br />
ns.example.com. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.13.75<br />
dns.example.com. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.13.75<br />
server1.example.com. &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.13.31<br />
server2.example.com. &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.13.38<br />
www.example.com. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;example.com.</div></div>
<p>Ovviamente la parte in fondo customizzatela a secondo dei record che volete propagare.<br />
Ok abbiamo finito. Come avete visto è veramente semplice. Ora startiamo named e assicuriamoci che parta al boot</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service named start<br />
chkconfig named on</div></div>
<p>E ora controlliamo che tutto sia startato correttamente dando un colpetto di &#8220;rndc status&#8221;</p>
<div class="codecolorer-container bash blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># rndc status</span><br />
number of zones: 1<br />
debug level: 0<br />
xfers running: 0<br />
xfers deferred: 0<br />
soa queries <span style="color: #000000; font-weight: bold;">in</span> progress: <span style="color: #000000;">0</span><br />
query logging is OFF<br />
recursive clients: <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1000</span><br />
tcp clients: <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">100</span><br />
server is up and running</div></div>
<p>Ok è tutto &#8220;folks!&#8221;. Per essere sicuri che tutto funziona fate qualche query con nslookup o con dig, sia dal server dns che dagli altri server.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;title=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;title=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;title=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;T=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;title=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Bind9+in+chroot+su+Centos+5.4+@+http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/&amp;t=Bind9+in+chroot+su+Centos+5.4" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2009/10/25/bind9-in-chroot-su-centos-54/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semplice Autenticazione HTTP via Ldap</title>
		<link>http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/</link>
		<comments>http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 10:51:01 +0000</pubDate>
		<dc:creator>daniele</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Simple]]></category>

		<guid isPermaLink="false">http://syscallme.2bopen.org/?p=57</guid>
		<description><![CDATA[Un brevissimo articolo, tanto per rispolverare il blog che prende polvere da un po&#8217;, e anche per scrivere una banalità che però alla fine mi dimentico sempre e perdo molto più tempo a ricercarne l&#8217;how-to che ad implementarla. E ciò e male.
In ogni modo l&#8217;obiettivo di questo piccolo post/piccolissimo how-to è quello di dare le [...]]]></description>
			<content:encoded><![CDATA[<p>Un brevissimo articolo, tanto per rispolverare il blog che prende polvere da un po&#8217;, e anche per scrivere una banalità che però alla fine mi dimentico sempre e perdo molto più tempo a ricercarne l&#8217;how-to che ad implementarla. E ciò e male.</p>
<p>In ogni modo l&#8217;obiettivo di questo piccolo post/piccolissimo how-to è quello di dare le indicazioni corrette per implementare una autenticazione HTTP via <a href="http://it.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol" target="_blank">ldap</a> su delle vostre pagine web.</p>
<p>Il contesto è semplice: avete una pubblicazione web (un sito, delle info, una attività di un vostro sviluppo che vi occorre online ma che non deve essere accessibile da tutti e indicizzabile da google neanche per sbaglio). E oltre a questo, avete anche un server OpenLdap che potete sfruttare per le autenticazioni.</p>
<p>Vediamo come si fa</p>
<p><span id="more-57"></span></p>
<p>Una autenticazione classica HTTP richiede solitamente la creazione di un file di password (che generalmente viene creato attraverso l&#8217;utilizzo del binario <a href="http://httpd.apache.org/docs/2.0/programs/htpasswd.html" target="_blank"><strong>htpasswd</strong></a> di <a href="http://httpd.apache.org/" target="_blank">Apache</a>). All&#8217;interno di esso, Apache, si preoccupa di creare una associazione uno ad uno tra il nome utente scelto e la cifratura della password scelta. Sarà lo stesso Apache ad interpretare poi quel file per consentire o meno l&#8217;autenticazione, quando se lo troverà nella configurazione del suo virtualhost o nell&#8217;<a href="http://httpd.apache.org/docs/2.2/howto/htaccess.html" target="_blank">.htaccess</a> del proprio contenuto web.</p>
<p>Demandare l&#8217;autenticazione ad Ldap sicuramente è una soluzione molto più pratica (l&#8217;utente ha già una coppia di credenziali e usa sempre quella per loggarsi a qualsiasi cosa) ma si fa i conti con una piccola differenza logica rispetto allo scenario descritto sopra. Nel file di accesso creato con htpasswd, c&#8217;è una associazione uno ad uno scritta più o meno così:</p>
<p>miousername:hashdellamiapassword</p>
<p>In questo modo, con &#8220;una sola fava&#8221; si vanno a prendere &#8220;due piccioni&#8221;, perchè ad Apache dai due tipi di informazioni: quali sono gli username abilitati ad accedere all&#8217;area riservata e quale è la loro password.</p>
<p>Mentre se demandi su ldap l&#8217;autenticazione HTTP, hai il problema di dire ad Apache quali sono gli utenti che ne debbono giovare.</p>
<p>Ok andiamo al dunque. Per implementare una HTTP Basic Authentication via Ldap in Apache, è sufficiente aggiungere il seguente blocco di configurazione all&#8217;interno di una direttiva del proprio virtualhost, oppure (più semplicemente) all&#8217;interno del proprio file .htaccess.</p>
<div class="codecolorer-container apache blackboard" style="border: 1px solid #9F9F9F;width:435px;"><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #adadad; font-style: italic;"># LDAP Authentication</span><br />
<span style="color: #00007f;">AuthName</span> <span style="color: #7f007f;">&quot;My Restricted Area&quot;</span><br />
<span style="color: #00007f;">AuthType</span> Basic<br />
<span style="color: #00007f;">AuthBasicProvider</span> ldap<br />
<span style="color: #00007f;">AuthzLDAPAuthoritative</span> <span style="color: #0000ff;">on</span><br />
<span style="color: #00007f;">AuthLDAPURL</span> ldap://my.ldap.com:389/dc=mydomain,dc=com?uid<br />
<span style="color: #00007f;">AuthLDAPBindDN</span> <span style="color: #7f007f;">&quot;cn=My ReadOnly Account,ou=dept,dc=mydomain,dc=com&quot;</span><br />
<span style="color: #00007f;">AuthLDAPBindPassword</span> password<br />
<span style="color: #00007f;">Require</span> valid-<span style="color: #00007f;">user</span></div></div>
<p>Commentiamo stringa per stringa.</p>
<p><strong>AuthName</strong>: Label per la vostra area riservata. Qui potete scrivere veramente quello che vi pare!<br />
<strong>AuthType</strong>: il tipo di autenticazione scelta. La nostra è Basic.<br />
<strong>AuthBasicProvider</strong>: rappresenta il provider dal quale vogliamo ottenere una autenticazione &#8220;basic&#8221;. Nel nostro caso è, appunto, ldap.<br />
<strong>AuthzLDAPAuthoritative</strong>: è un sistema di fallback. Se è settato su &#8220;off&#8221; il sistema prova in cascata altri sistemi di autenticazione se fallisce quello su ldap. Nel nostro caso, non essendoci altri sistemi di autenticazione, lo abbiamo settato su &#8220;on&#8221;.<br />
<strong>AuthLDAPURL</strong>: è la stringa di connessione. Non basta passargli solo l&#8217;indirizzo del server, ma è necessario dargli anche (dopo lo /) la path dell&#8217;alberatura ldap dalla quale volete che Apache permetta l&#8217;autenticazione. Nel nostro caso siamo stati molto generici: tutte le utenze sotto la radice vengono prese in considerazione. Dopo il punto interrogativo è necessario aggiungere quale è l&#8217;attributo ldap per il quale fare la ricerca. Nel nostro caso è &#8220;uid&#8221;, cioè lo userid dell&#8217;utente.<br />
<strong>AuthLDAPBinDN</strong>: non è un parametro obbligatorio. Dipende da come è stato configurato il vostro ldap. Se il vostro Ldap non è accessibile in sola lettura da utente &#8220;anonymous&#8221; è necessario specificare quale è l&#8217;utente che ha accesso al server ldap. Se vi trovate in quest&#8217;ultimo caso è necessario specificare anche la password (<strong>AuthLDAPBindPassword</strong>).</p>
<p>In ultimo diciamo al nostro apache che è obbligatorio un utente valido (<strong>require valid-user</strong>) per permettere l&#8217;accesso.</p>
<p>Questa configurazione è il primo livello di complessità: manca un file che gestisce la profilazione sugli accessi (in questo modo, infatti, tutti gli utenti di ldap possono loggarsi con successo), manca un sistema di fallback, eccetera. Però spesso è la cosa più utile che ci serve <img src='http://syscallme.2bopen.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;title=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;title=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;title=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;T=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;title=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Semplice+Autenticazione+HTTP+via+Ldap+@+http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/&amp;t=Semplice+Autenticazione+HTTP+via+Ldap" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://syscallme.2bopen.org/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://syscallme.2bopen.org/2009/10/22/semplice-autenticazione-http-via-ldap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
