<?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; Paolo san docet</title>
	<atom:link href="http://www.tipsandtux.org/wordpress/tag/paolo-san-docet/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>Cyrus SASL + Postfix over Active Directory</title>
		<link>http://www.tipsandtux.org/wordpress/cyrus-sasl-postfix-over-active-directory.html</link>
		<comments>http://www.tipsandtux.org/wordpress/cyrus-sasl-postfix-over-active-directory.html#comments</comments>
		<pubDate>Tue, 30 Nov 2010 15:23:54 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[Sistemi]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[Paolo san docet]]></category>
		<category><![CDATA[pensieri]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=232</guid>
		<description><![CDATA[Cyrus SASL + Postfix over Active Directory Postfix running on SLES 10 and Auth over a W2k3 R2 Server, via Kerberos (based, and authorised by, on Loris aw mcgyver.it work ) Prerequisite: - Ntp working - Active directory Server - Postix Server - RPM: krb5, krb5-apps-clients, krb5-clients, pam_krb5, krb5-plugin-kdb-ldap, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-saslauthd From CLI: # yast -i ntp postfix krb5 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Cyrus SASL + Postfix over Active Directory</strong></p>
<p>Postfix running on SLES 10 and Auth over a W2k3 R2 Server, via Kerberos (based, and authorised by, on Loris aw mcgyver.it work )</p>
<p><span style="text-decoration: underline;">Prerequisite:</span></p>
<p>- Ntp working<br />
- Active directory Server<br />
- Postix Server<br />
- RPM: krb5, krb5-apps-clients, krb5-clients, pam_krb5, krb5-plugin-kdb-ldap, cyrus-sasl, cyrus-sasl-plain, cyrus-sasl-saslauthd<br />
<span id="more-232"></span><br />
From CLI:<br />
<em># yast -i ntp postfix krb5 krb5-apps-clients krb5-clients pam_krb5 krb5-plugin-kdb-ldap cyrus-sasl cyrus-sasl-plain cyrus-sasl-saslauthd</em></p>
<p>Let&#8217;s Start. (NB backup all configuration files before changing it, ex: cp cfg.conf cfg.conf.orig)</p>
<p><span style="text-decoration: underline;">Configure /etc/krb5.conf (warning, it&#8217;s case sensitive world!!)</span></p>
<p>&#8212;&#8211; [/etc/krb5.conf ]<br />
<em>[logging]<br />
default = FILE:/var/log/krb5libs.log<br />
kdc = FILE:/var/log/krb5kdc.log<br />
admin_server = FILE:/var/log/kadmind.log</p>
<p>[libdefaults]<br />
default_realm = DOMAIN.LOC<br />
dns_lookup_realm = true<br />
dns_lookup_kdc = true<br />
ticket_lifetime = 24h<br />
forwardable = yes</p>
<p>[realms]<br />
ACME.COM = {<br />
kdc = W2K3Server.DOMAIN.LOC:88<br />
default_domain = DOMAIN.LOC<br />
}</p>
<p>[domain_realm]<br />
DOMAIN.LOC = DOMAIN.LOC<br />
.DOMAIN.LOC = DOMAIN.LOC<br />
domain.loc = DOMAIN.LOC<br />
.domain.loc = DOMAIN.LOC</p>
<p>[appdefaults]<br />
pam = {<br />
debug = false<br />
ticket_lifetime = 36000<br />
renew_lifetime = 36000<br />
forwardable = true<br />
krb4_convert = false<br />
}</em><br />
&#8212;&#8211; [/etc/krb5.conf ]</p>
<p><span style="text-decoration: underline;">Ok, now change /etc/pam.d/smtp adding</span></p>
<p>&#8212;&#8211; cut here &#8212;&#8212;<br />
<em>auth sufficient pam_krb5.so no_user_check validate<br />
account sufficient pam_permit.so</em><br />
&#8212;&#8211; end cutting &#8212;&#8211;</p>
<p><span style="text-decoration: underline;">Changing sasl auth file</span></p>
<p>&#8212;&#8211; [/etc/sasl2/smtpd.conf]<br />
<em>pwcheck_method: saslauthd</em><br />
&#8212;&#8211; [/etc/sasl2/smtpd.conf]</p>
<p><span style="text-decoration: underline;">Now it&#8217;s time to change sasl daemon. Edit</span></p>
<p>&#8212;- [/etc/sysconfig/saslauthd]<br />
<em>SASLAUTHD_AUTHMECH=pam</em><br />
&#8212;- [/etc/sysconfig/saslauthd]<br />
leave default other vars</p>
<p><span style="text-decoration: underline;">Let&#8217;s try our setting.</span><br />
TIME It&#8217; important. Kerberos does not allow big time differences between server and client when<br />
client is authenticating on server.</p>
<p>Try executing a simple &#8220;<em>kinit username</em>&#8221;<br />
Password for username@DOMAIN.LOC:</p>
<p>It you got an error stop and try your configuration, else you can continue.</p>
<p>You can verify authentication on realm DOMAIN.LOC with smtp domain, you execute:</p>
<p><em>testsaslauthd -u username -p password -r DOMAIN.LOC -s smtp</em></p>
<p>Now we can configure postfix, just working without auth smtp relay:</p>
<p><em>smtpd_recipient_restrictions = permit_mynetworks , permit_sasl_authenticated , reject_unauth_destination<br />
smtpd_sasl_auth_enable = yes<br />
smtpd_sasl_authenticated_header = yes<br />
smtpd_sasl_local_domain = DOMAIN.LOC<br />
broken_sasl_auth_clients = yes</em></p>
<p>Rif:<br />
<a href="http://www.facebook.com/topic.php?uid=5364518177&amp;topic=6425" target="_blank">http://www.facebook.com/topic.php?uid=5364518177&amp;topic=6425</a><br />
Others Rif:<br />
<a href="http://www.postfix.org/SASL_README.html" target="_blank">http://www.postfix.org/SASL_README.html</a><br />
<a href="http://pn-it.com/blog/linux-ubuntu/postfix-mit-ldap-auth-ubuntu-10/" target="_blank">http://pn-it.com/blog/linux-ubuntu/postfix-mit-ldap-auth-ubuntu-10/</a><br />
<a href="http://www.faqs.org/docs/Linux-HOWTO/LDAP-Implementation-HOWTO.html" target="_blank">http://www.faqs.org/docs/Linux-HOWTO/LDAP-Implementation-HOWTO.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/cyrus-sasl-postfix-over-active-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RAI vs Ubuntu</title>
		<link>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html</link>
		<comments>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html#comments</comments>
		<pubDate>Thu, 24 Jun 2010 09:26:31 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[Paolo san docet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=136</guid>
		<description><![CDATA[visto che oggi devo lavorare durante la partita stavo verificando la possibilità di avere la partita o la radio in streaming&#8230; ebbene, per lo streaming video dovrei avere M$crosoft SilverLight installato, per lo streaming audio i M$crosoft Codec ! peccato che io abbia Linux/Ubuntu e di avere un Winzoz installato non ci penso nemmeno. Evviva i formati aperti e la [...]]]></description>
			<content:encoded><![CDATA[<p>visto che oggi devo lavorare durante la partita stavo verificando la possibilità di avere la partita o la radio in streaming&#8230; ebbene, per lo streaming video dovrei avere M$crosoft SilverLight installato, per lo streaming audio i M$crosoft Codec ! peccato che io abbia Linux/Ubuntu e di avere un Winzoz installato non ci penso nemmeno.</p>
<p>Evviva i formati aperti e la compatibilità a 360°, come se tutti dovrebbero avere solo Winzoz nei loro pc!</p>
<p>Per fortuna esiste qualche buona anima che ha creato dei plugin per farci assaporare anche a noi linuxiani i piacere riservati ad altri.</p>
<p>per il Silverlight : <a href="http://wiki.ubuntu-it.org/Silverligh" target="_blank">http://wiki.ubuntu-it.org/Silverlight</a> <a href="http://go-mono.com/moonlight" target="_blank">http://go-mono.com/moonlight</a></p>
<p>per i codec, avendo Firefox, basta installare il plugin di Mplayer per Firefox/Gecko</p>
<p><em>Now Enjoy!</em> <img src='http://www.tipsandtux.org/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IMSS Linux database GRANDE! (IMSS Big disk Size )</title>
		<link>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html</link>
		<comments>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 10:39:34 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[IMSS]]></category>
		<category><![CDATA[Paolo san docet]]></category>
		<category><![CDATA[Trend Micro]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=32</guid>
		<description><![CDATA[Nei server linux usati come gateway di posta elettronica, se c’è IMSS installato si può incombere in problemi di saturazione del disco. Quanto si riceve una notifica tipo questa: The free disk space under /opt/trend/imss on server SMTP is 1227 MB, which is below the threshold. significa che il database di IMSS ha quasi saturato il disco, e bisogna procedere [...]]]></description>
			<content:encoded><![CDATA[<p>Nei server linux usati come gateway di posta elettronica, se c’è IMSS installato si può incombere in problemi di saturazione del disco.</p>
<p>Quanto si riceve una notifica tipo questa:<br />
<em> The free disk space under /opt/trend/imss on server SMTP is 1227 MB, which is below the threshold.</em></p>
<p>significa che il database di IMSS ha quasi saturato il disco, e bisogna procedere all’allegerimento.</p>
<p>Per far ciò:</p>
<p>-      Bypassare IMSS commentando la riga “content_filter = imss:localhost:10025“ in /etc/postfix/main.cf<br />
-      Riavviare postfix (rcpostfix restart)<br />
-      Stoppare i servizi di IMSS<br />
-      Lanciare il comando<br />
/opt/trend/imss/PostgreSQL/bin/vacuumdb -f -a -U imss<br />
e attendere che la procedura termini<br />
-      Avviare i servizi di IMSS<br />
-      Togliere il commento inserito nel file /etc/postfix/main.cf<br />
-      Riavviare postfix<br />
Si può verificare che lo spazio si sia effettivamente liberato con il comando df -h</p>
<p>(procedura testata con successo su Sles 10 e Imss 7.0)</p>
<p><em>[Paolo san docet!]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

