<?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>totalnetsolutions.net &#187; Security</title>
	<atom:link href="http://www.totalnetsolutions.net/category/tech/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.totalnetsolutions.net</link>
	<description>totalnetsolutions.net - Complete Networking Solutions for business</description>
	<lastBuildDate>Thu, 26 Jan 2012 04:05:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ypcat passwd: No such map passwd.byname. Reason: No such map in server&#8217;s domain</title>
		<link>http://www.totalnetsolutions.net/2011/05/23/ypcat-passwd-no-such-map-passwd-byname-reason-no-such-map-in-servers-domain/</link>
		<comments>http://www.totalnetsolutions.net/2011/05/23/ypcat-passwd-no-such-map-passwd-byname-reason-no-such-map-in-servers-domain/#comments</comments>
		<pubDate>Mon, 23 May 2011 20:19:23 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=78</guid>
		<description><![CDATA[We ran into this bit of fun while setting up a NIS domain for testing in the lab today: rob@rob-kubuntu3:~$ ypcat -d nisdom -h rhel5-64-2 passwd.byname No such map passwd.byname. Reason: No such map in server's domain It turns out this was a problem with the /var/yp/securenets file, but I&#8217;m still not sure what is [...]]]></description>
			<content:encoded><![CDATA[<p>We ran into this bit of fun while setting up a NIS domain for testing in the lab today:<br />
<code>rob@rob-kubuntu3:~$ ypcat -d nisdom -h rhel5-64-2 passwd.byname<br />
No such map passwd.byname. Reason: No such map in server's domain<br />
</code><br />
It turns out this was a problem with the <strong>/var/yp/securenets</strong> file, but I&#8217;m still not sure <strong>what</strong> is wrong.  The man page for ypserv shows:</p>
<blockquote><p>       A sample securenets file might look like this:</p>
<p>              # allow connections from local host &#8212; necessary<br />
              host 127.0.0.1<br />
              # same as 255.255.255.255 127.0.0.1<br />
              #<br />
              # allow connections from any host<br />
              # on the 131.234.223.0 network<br />
              255.255.255.0   131.234.223.0
</p></blockquote>
<p>So we set up our securenets to look like this:</p>
<blockquote><p>
host 127.0.0.1<br />
255.255.255.0 10.10.10.0
</p></blockquote>
<p>And tried to connect to the server:<code><br />
rob@rob-kubuntu3:~$ ip addr show dev wlan0 |grep "inet "<br />
    inet 10.10.10.210/24 brd 10.10.10.255 scope global wlan0<br />
rob@rob-kubuntu3:~$ ypcat -d nisdom -h rhel5-64-2 passwd.byname<br />
No such map passwd.byname. Reason: No such map in server's domain<br />
rob@rob-kubuntu3:~$ ping -c1 rhel5-64-2<br />
PING rhel5-64-2 (10.10.10.213) 56(84) bytes of data.<br />
64 bytes from rhel5-64-2 (10.10.10.213): icmp_req=1 ttl=64 time=0.823 ms</p>
<p>--- rhel5-64-2 ping statistics ---<br />
1 packets transmitted, 1 received, 0% packet loss, time 0ms<br />
rtt min/avg/max/mdev = 0.823/0.823/0.823/0.000 ms</code></p>
<p>Removing the /var/yp/securenets file allowed us access, so it wasn&#8217;t firewall or rpc or portmap issues, to the best I can determine.  Adding &#8220;host 10.10.10.210&#8243; also worked and allowed the client access.  So what&#8217;s wrong with the format / man page?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2011/05/23/ypcat-passwd-no-such-map-passwd-byname-reason-no-such-map-in-servers-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded WordPress</title>
		<link>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/</link>
		<comments>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 18:50:12 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=51</guid>
		<description><![CDATA[Upgrading software – always required to keep things secure. Windows, WordPress, Mac OSx, Linux, Office, Firefox, etc. So I just finished upgrading TotalNetSolutions.net again. Hopefully I’ll be able to be better about this, now that WordPress does the automatic upgrades now. I’ve been doing the automatic upgrades on one of my other sites since they [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading software – always required to keep things secure.  Windows, WordPress, Mac OSx, Linux, Office, Firefox, etc.  So I just finished upgrading TotalNetSolutions.net again.  Hopefully I’ll be able to be better about this, now that WordPress does the automatic upgrades now.</p>
<p>I’ve been doing the automatic upgrades on one of my other sites since they came out.  They’re easy, fast, and even more painless than the <a href="http://codex.wordpress.org/Upgrading_WordPress">3-step upgrade</a> that works so well. So now, I should be able to keep TNS much further away from the “cobbler’s kids” syndrome so many small company’s systems suffer with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-forest trusts and new error codes</title>
		<link>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/</link>
		<comments>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 05:29:43 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[domain controllers]]></category>
		<category><![CDATA[trusts]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/</guid>
		<description><![CDATA[If you are setting up a cross-forest trust with selective authentication (which requires a Windows Server 2003 Native mode level forest and domain), don&#8217;t forget to grant the &#8220;Allowed to Authenticate&#8221; right to the users from the trusted domain to the servers they&#8217;ll need access to in your domain. The error messages you&#8217;ll get back [...]]]></description>
			<content:encoded><![CDATA[<p>If you are setting up a cross-forest trust with selective authentication (which requires a Windows Server 2003 Native mode level forest and domain), don&#8217;t forget to grant the &#8220;Allowed to Authenticate&#8221; right to the users from the trusted domain to the servers they&#8217;ll need access to in your domain.  The error messages you&#8217;ll get back (replicated here in my test VM domains) don&#8217;t really say much helpful.</p>
<p>System Error 317 has occurred.  The system cannot find message text for message number 0x*** in the message file for ***.<br />
<br /><img src="http://www.totalnetsolutions.net/wp-content/uploads/2007/12/system317.png" alt="System Error 317" /></p>
<p>Further information about adding the &#8220;Allowed to Authenticate&#8221; right to the trusted users is available <a href=http://technet2.microsoft.com/windowsserver/en/library/b4d96434-0fde-4370-bd29-39e4b3cc7da81033.mspx?mfr=true" target="_blank">at Microsoft TechNet</a>.  If you have the opportunity to raise your forest and domain functional levels to take advantage of this, I highly recommend it.  But I recommend also (even more strongly) documenting precisely what you set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current System Status</title>
		<link>http://www.totalnetsolutions.net/2007/11/29/current-system-status/</link>
		<comments>http://www.totalnetsolutions.net/2007/11/29/current-system-status/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 21:39:12 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/11/29/current-system-status/</guid>
		<description><![CDATA[Now that I have the system back online, I thought I&#8217;d post a quick &#8220;where we are&#8221; update for any regular readers: We have restored from most recent backup, but are missing a single post, &#8220;PHP, mail(), Apache, and SELinux (FC7)&#8221;, which even google.com&#8217;s cache didn&#8217;t catch in full. I apologize to the readers who [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I have the system back online, I thought I&#8217;d post a quick &#8220;where we are&#8221; update for any regular readers:</p>
<ol>
<li>We have restored from most recent backup, but are missing a single post, &#8220;PHP, mail(), Apache, and SELinux (FC7)&#8221;, which even google.com&#8217;s cache didn&#8217;t catch in full.  I apologize to the readers who were using the instructions in that post whom we met through their comments.</li>
<li>We haven&#8217;t yet restored the &#8220;comments&#8221; table.  I haven&#8217;t yet decided if we will.</li>
<li>I have fixed the problem of storing backups for the company in 3 different locations, based on system type.  Now we only have 2 &#8211; onsite and offsite.</li>
<li>The extremely popular <a href="http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip/" target="_blank">How to Change a DC IP address</a> article was restored first. (That page drives over half of our traffic.)</li>
</ol>
<p>We did a standard forensics review of what happened, and it appears as though a perfect storm of issues hit us &#8211; a weekend outage, a hardware failure, and failure to keep publicly exposed software fully up-to-date.  The saying often goes, &#8220;The cobbler&#8217;s kids are the ones without shoes&#8221; or something similar to that, and here we failed to follow our own advice, preferring to keep our customers&#8217; systems running smoothly.  I know I&#8217;ll be spending a few extra hours a week the rest of this year reviewing our internal systems for best practices.</p>
<p>In any case, things are fixed and running great again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/11/29/current-system-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://www.totalnetsolutions.net/2007/11/02/fedora-core-7-php-can%e2%80%99t-send-mail/</link>
		<comments>http://www.totalnetsolutions.net/2007/11/02/fedora-core-7-php-can%e2%80%99t-send-mail/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 06:33:16 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/11/02/fedora-core-7-php-can%e2%80%99t-send-mail/</guid>
		<description><![CDATA[Im hunting down an issue on Fedora Core 7 where PHP5 cant send mail using sendmail or postfix. In /var/log/httpd/access_log we are getting sh: /usr/sbin/sendmail: Permission denied every time the mail() function is accessed, and postfix never sees any connection. This is being caused by SELinux blocking Apache from transitioning from the httpd role to [...]]]></description>
			<content:encoded><![CDATA[<p>Im hunting down an issue on Fedora Core 7 where PHP5 cant send mail using sendmail or postfix. In /var/log/httpd/access_log we are getting <code>sh: /usr/sbin/sendmail: Permission denied</code> every time the <code>mail()</code> function is accessed, and postfix never sees any connection. This is being caused by SELinux blocking Apache from transitioning from the httpd role to the mta role &#8211; Im just not sure what the *best* way to fix it is yet. I havent seen many posts about this, so stay tuned &#8211; I expect to have a fix tomorrow afternoon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/11/02/fedora-core-7-php-can%e2%80%99t-send-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

