<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Niall Best's Blog</title>
	
	<link>http://niallbest.com</link>
	<description>Thoughts on programming and technology</description>
	<lastBuildDate>Tue, 27 Sep 2011 00:45:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/NiallBestsBlog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="niallbestsblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Back to the UK for SQLBits again</title>
		<link>http://niallbest.com/back-to-the-uk-for-sqlbits-again/</link>
		<comments>http://niallbest.com/back-to-the-uk-for-sqlbits-again/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 00:45:04 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=262</guid>
		<description><![CDATA[One year on and I find myself in a similar situation to last year only this time I’m not in Boulder, Colorado I’m in Corpus Christi, Texas.  The other constant is that I’m lucky enough to be able to attend &#8230; <a href="http://niallbest.com/back-to-the-uk-for-sqlbits-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://niallbest.com/back-to-the-uk-for-sqlbits/">One year on</a> and I find myself in a similar situation to last year only this time I’m not in Boulder, Colorado I’m in Corpus Christi, Texas.  The other constant is that I’m lucky enough to be able to attend <a href="http://sqlbits.com/">SQLBits</a> 9 in Liverpool the day after I get back to the UK.</p>
<p>It’s nice to see that the north of England is hosting SQLBits again, I’m sure Liverpool will be a great location for the event.  I’m also happy that this time I will be attending with a good friend <a href="http://blog.tonywilliams.me.uk/">Tony Williams</a> (@twith2sugars on Twitter)</p>
<p>In terms of topics I’m hoping I can attend a lot of the performance tuning and monitoring talks around the Development and DBA tracks as I know I’ll be able to put those skills to work right away. In particular I’d like to be able to get some real world examples of using PowerShell with SQL Server.</p>
<p>As well as refreshing topics I feel comfortable with I like the fact that I can go sit in on BI talk and get some more exposure to SSIS and Data Warehousing.  One of the most interesting talks at SQLBits 7 was on BI, a real eye opener.</p>
<p>The biggest problem is choosing between the great sessions in each time groups, it’s always hard as I wish I could attend two at once.  Also I’m going to miss not being able to see <a href="http://www.brentozar.com/">Brent Ozar</a> or <a href="http://blogs.msdn.com/b/buckwoody/">Buck Woody</a> present again (they were at SQLBits 7 in York). After reading their blogs for so long it was good to see both of them present, but it allows me to see some new people offer their style of presenting which is always good.</p>
<p>Lastly I hope this year I hope I can win something in the prize giveaway they have, a nice PCI-E SSD card would be nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/back-to-the-uk-for-sqlbits-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint site suddenly Read Only even for Administrators!</title>
		<link>http://niallbest.com/sharepoint-site-suddenly-read-only-even-for-administrators/</link>
		<comments>http://niallbest.com/sharepoint-site-suddenly-read-only-even-for-administrators/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 16:25:49 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=250</guid>
		<description><![CDATA[So at some point in time something had happened to our SharePoint 2010 server to cause what appeared to be a total lock down on the SharePoint sites. It must have been something strange, something weird, who knows what but &#8230; <a href="http://niallbest.com/sharepoint-site-suddenly-read-only-even-for-administrators/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So at some point in time something had happened to our SharePoint 2010 server to cause what appeared to be a total lock down on the SharePoint sites.</p>
<p>It must have been something strange, something weird, who knows what but it resulted in is ALL users, even site administrators and users with full administrative rights unable to do anything!  Nobody could add new documents or edit documents; nearly every single Document or Library option is greyed out!</p>
<p>The fix it would seem is performed via the central administration website for your server.</p>
<ol>
<li><span class="Apple-style-span" style="color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 15px; line-height: 21px;">Central Administration -&gt; Site Collection Quotas and Locks.</span></li>
<li><span class="Apple-style-span" style="color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 15px; line-height: 21px;">Select your site collection</span></li>
<li><span class="Apple-style-span" style="color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 15px; line-height: 21px;">Change the Site Lock Information radio button from “Read-only” to “Not locked”</span></li>
<li><span class="Apple-style-span" style="color: #222222; font-family: 'Courier 10 Pitch', Courier, monospace; font-size: 15px; line-height: 21px;">OK the changes</span></li>
</ol>
<p><a href="http://niallbest.com/wp-content/uploads/2011/09/SharePoint-2010-Central-Administration-Site-Collection-Quotas-and-Locks-Read-only.png"><img class="aligncenter size-full wp-image-252" title="SharePoint 2010 Central Administration Site Collection Quotas and Locks Read-only" src="http://niallbest.com/wp-content/uploads/2011/09/SharePoint-2010-Central-Administration-Site-Collection-Quotas-and-Locks-Read-only.png" alt=" SharePoint 2010 Central Administration Site Collection Quotas and Locks Read-only" width="751" height="642" /></a><br />
You don’t even need to reboot or issue an iisreset command.</p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/sharepoint-site-suddenly-read-only-even-for-administrators/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cannot send SMTP mail on port 25, try port 587</title>
		<link>http://niallbest.com/cannot-send-smtp-mail-on-port-25-try-port-587/</link>
		<comments>http://niallbest.com/cannot-send-smtp-mail-on-port-25-try-port-587/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 22:04:39 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=244</guid>
		<description><![CDATA[I didn’t really want to blog about this, but it’s such a well-known piece of information I’d never heard of.  Most of this blog post is for my own records but if it’s useful to you too that’s great. Having &#8230; <a href="http://niallbest.com/cannot-send-smtp-mail-on-port-25-try-port-587/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I didn’t really want to blog about this, but it’s such a well-known piece of information I’d never heard of.  Most of this blog post is for my own records but if it’s useful to you too that’s great.</p>
<p>Having been a desktop user of Microsoft Exchange, which uses nonstandard proprietary methods to communicate with Outlook I’d never run into the issue of not being able to send out mail.</p>
<p>Using an external IMAP mail server setup to receive on TCP port 143 and send on TCP port 25 works great at the office, no problem.  First time you take your new laptop home, mail will not send with the usual setup</p>
<p><strong> </strong><strong>SMTP Port options</strong></p>
<p>The Simple Mail Transfer Protocol (SMTP) allows mail server administrators to receive email on TCP port 25.  Traditionally TCP port 25 was used for all email processing, submission and server-to-server mail transfers.</p>
<p>The Internet Engineering Task Force (IETF) published RFC 2476 <a href="http://tools.ietf.org/html/rfc2476">http://tools.ietf.org/html/rfc2476</a> in December 1998.  In section 3.1 Submission Identification, TCP port 587 was reserved for the initial submission of email messages from a client to an email server.</p>
<p>The document goes on to say that you may still allow an email server to receive email submissions on port 25.  In practice a lot of email servers will accept submissions on both ports 25 and 587.</p>
<p><strong>How clients should really send mail</strong></p>
<p><span style="color: #000000;"><strong><a href="http://niallbest.com/wp-content/uploads/2011/07/Outlook-port-25-to-port-587.png"><img class="aligncenter size-full wp-image-245" title="Outlook port 25 to port 587" src="http://niallbest.com/wp-content/uploads/2011/07/Outlook-port-25-to-port-587.png" alt="Outlook SMTP port 25 to port 587" width="467" height="559" /></a></strong></span></p>
<p>Due to the rise in unsolicited email (SPAM) a lot of ISPs will block port 25 unless you specifically ask for it if you are running your own mail server and take responsibility for not allowing SPAM to be routed through your email server.</p>
<p>My issue came when I was at home as my ISP <em>does</em> block port 25 so I could not send email, but when I was on the WiFi at a friend’s house whose ISP obviously <em>does not</em> block port 25 my outbox suddenly emptied?  Back at my house altering my mail client settings to submit email to the company email service on port 587 had me replying to co-workers once again.</p>
<p>From researching this point the recommendation is for all end user email software configurations to use port 587 as the default and leave port 25 for the server administrators to worry about.</p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/cannot-send-smtp-mail-on-port-25-try-port-587/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NiallBest.com one year anniversary</title>
		<link>http://niallbest.com/niallbest-com-one-year-anniversary/</link>
		<comments>http://niallbest.com/niallbest-com-one-year-anniversary/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 15:45:24 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=239</guid>
		<description><![CDATA[I thought it important to me that I should mark the first anniversary of my blog with a roundup post of the first year online for NiallBest.com. My original goal of the site was to record interesting events and answers &#8230; <a href="http://niallbest.com/niallbest-com-one-year-anniversary/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought it important to me that I should mark the first anniversary of my blog with a roundup post of the first year online for <a href="http://niallbest.com">NiallBest.com</a>.</p>
<p>My original goal of the site was to record interesting events and answers to difficult IT and programming situations I found myself in.  Most of these came from my work environment but some good ones were discovered away from the office.</p>
<p>Another goal of the site was to try and post at least once a month, Something I nearly managed excluding a December holiday.  I actually keep a folder with ideas for blog posts on my computer.  Some of them translate well into a post while others are far too lengthy and really quite dull.</p>
<p>A year is certainly a long time in computing terms and it’s somewhat of shame that I no longer get to program as much as I enjoy too.  With a change of employment I find myself sat in airport lounges a lot more that I sit writing code in Microsoft .Net, which makes me thing I should include more personal programming posts in my next year of blogs.</p>
<p>This has allowed me to explore more of a technology side of computing rather than a straight forward programming solutions blog.  I should think there will be a lot more posts in the coming year around the use of new technology and supporting the end users of new technology.</p>
<p><strong>Top blog Posts</strong></p>
<p>Over the whole year I was surprised by how popular some posts were, here are the best of them.</p>
<p><a href="http://niallbest.com/dell-2950-strike-the-f1-key-to-continue/">http://niallbest.com/dell-2950-strike-the-f1-key-to-continue/</a></p>
<p>One of my first posts to the blog but it still gets a surprising amount of traffic, it’s a really nasty issue.</p>
<p><a href="http://niallbest.com/seagate-2tb-st32000542as-cc35-firmware-upgrade/">http://niallbest.com/seagate-2tb-st32000542as-cc35-firmware-upgrade/</a></p>
<p>I never even realised you could (or might have to!) flash the firmware of a hard disk until we suffered the issue with Seagate 2TB disks nearly 12 months ago.  This is by far the most read blog post on my site and it’s still receiving comments from people who are flashing their hard disks even now!</p>
<p><a href="http://niallbest.com/using-windows-azure-tables-to-persist-session-data/">http://niallbest.com/using-windows-azure-tables-to-persist-session-data/</a></p>
<p>It was nice to get a good programming blog post out and Windows Azure was still very much in its infancy at this point.  I was lucky enough to work for a company that was working with Microsoft using the Azure stack for a new product.  Help at that time was thin on the ground so I hope this post helped a few folks out.</p>
<p><a href="http://niallbest.com/sqlbits-7/">http://niallbest.com/sqlbits-7/</a></p>
<p>SQLBits 7 was my first real SQL conference; it was a blast and really useful learning resource.  I was also lucky enough to be able to catch the train down in one day to attend.  I wrote this mainly as a roundup of the conference for myself but also to impress on readers that conferences do work as a learning aid, even if they just spark you interest to go investigate something further on your own.</p>
<p><a href="http://niallbest.com/draytek-vigor-ip-pbx-2820-linksys-spa941/">http://niallbest.com/draytek-vigor-ip-pbx-2820-linksys-spa941/</a></p>
<p>The Draytek IP PBX 2820 is a constant source of irritation at work and I was sure that other people out there might face the same woe.  VoIP shouldn’t be difficult but situations conspire along with time constraints to make things hard.</p>
<p>I must have looked back at this page 10 times or more when doing config updates so for that reason alone it was a very useful blog post.</p>
<p><strong>Stats</strong></p>
<p>Some stats from the year:</p>
<ul>
<li>Over 22,000 visits</li>
<li>27,600 page views</li>
<li>15,800 unique visitors</li>
<li>More than 50% of visits came from Google search engine</li>
</ul>
<p>Visits from 144 different countries, top 5</p>
<ol>
<li>United States</li>
<li>United Kingdom</li>
<li>Germany</li>
<li>Canada</li>
<li>Russia</li>
</ol>
<p>Web browser stats</p>
<ol>
<li>Firefox 38%</li>
<li>IE 31%</li>
<li>Chrome 18%</li>
<li>Safari 5%</li>
<li>Opera 5%</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/niallbest-com-one-year-anniversary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travel Tips</title>
		<link>http://niallbest.com/travel-tips/</link>
		<comments>http://niallbest.com/travel-tips/#comments</comments>
		<pubDate>Tue, 24 May 2011 07:13:31 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=229</guid>
		<description><![CDATA[I find it strange in this day of Internet enabled devices and Skype meetings that companies pay for their tech people to fly round the world to setup hardware and explain systems to senior management in person rather than via &#8230; <a href="http://niallbest.com/travel-tips/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I find it strange in this day of Internet enabled devices and Skype meetings that companies pay for their tech people to fly round the world to setup hardware and explain systems to senior management in person rather than via a VPN or virtual meeting, but hey it gets me out of the office and into another one.</p>
<p>Traveling on business can be stressful and leave you exhausted at the other end with a deadline looming or important meeting.  I’ve decided to write up my tips and ideas on how to make business travel a little easier.</p>
<p><strong>Know your details</strong></p>
<p><strong></strong>Probably the most important thing to have is a plan or schedule of What, Where, Who and When.  We already know the why – business.</p>
<p>Knowing your flight times, flight numbers, airline contact numbers and terminal buildings should be top priority.  Usually your company will provide you with an itinerary but I like to amend mine with extra details such as the local numbers for the airlines and airport information.  Local taxi numbers at each destination and I also like to plan my way round a new airport in case my transfer time gets short and I need to hurry.</p>
<p>It’s also nice to let somebody else know your travel plans so they can stay in touch or help you out in a bind.  <a href="http://www.tripit.com">http://www.tripit.com</a> is a great site that can compile your itinerary from lots of difference sources.</p>
<p><strong>Plan for delays</strong></p>
<p><strong></strong>The biggest stress reliever I have is knowing that I have a plan if there are delays or alterations.  Having a backup plan for travel when your flight gets in the hold for 30 minutes and you need to make a connection quickly really helps.</p>
<p>If you have a smartphone make sure you have any airline applications on your phone and use them for status updates, always try and be ahead of the pack otherwise you can find yourself at the back of a 300 person queue.</p>
<p>If you do need to queue and speak to somebody being civil is the best thing you can do regardless of how you might feel.  A top tip from Scott Hanselman is to “speak the language of the airport” when dealing with staff.  Give them flight numbers, 24-hour times, airport short codes e.g. LHR (London Heathrow) and have your passport and any boarding cards or booking references quickly to hand.  The more you can help them the faster they will help you.</p>
<p><strong>Know the rules</strong></p>
<p>Security is an unfortunate part of air travel today, but you can ease your transition through the checkpoints by dressing cleverly and being selective about what is in your carryon bag.</p>
<p>For example I don’t wear a belt or jacket when flying (but would a jacket help with an operational seat upgrade?) and slip on shoes so it’s easy to move through the security process.  I also don’t carry keys or change when flying so there is nothing to set off the scanner.</p>
<p>Easy access to my electronic devices is another plus.  I like to pack all the gadgets I’ll need on the flight in a separate wash style bag so all I need to take out is the one bag for the security scanner and any laptop(s).  Yes a tablet or iPad does count and needs to be removed from the bag, as I witnessed last week some guy got a grilling over the contents of his carryon for having a iPad2 in there.</p>
<p><strong>Making it personal</strong></p>
<p>I personally don’t work on a flight unless I really have to; I like to take a book I’m reading or latest magazine subscription.  Music is good but a lot of airlines don’t let you use headphones or while taxiing or at take-off and landing so good reading material is essential.</p>
<p>If I do feel like sleeping on the plane then ear plugs are a must for me, noise cancelling headphones are great but I find them uncomfortable to sleep in and earplugs are cheap.  Some of the better airlines carry them if you ask the cabin staff as well as eye masks.</p>
<p>I usually take several devices with me for the flight.  I know most smartphones have an mp3 player capacity but how many also last 8 hours+?  I still find a dedicated mp3 player, phone, netbook and handheld gaming device to be the best of all worlds.  I always like to have enough to keep me occupied if I find I can’t sleep.</p>
<p><strong>Top Tips</strong></p>
<p>•	Plan your itinerary.<br />
•	Make a list of useful numbers, both in your phone and in your bag.<br />
•	Have multiple forms of payment in different currencies, cash is still king in most places.<br />
•	Know your airports and the airport procedures for security.<br />
•	Know the correct boarder control procedure.<br />
•	Have a routine, you’ll feel better if it feels normal.<br />
•	Personalise the travel time with music, books or movies you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/travel-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time for Windows server 2008 and NTP</title>
		<link>http://niallbest.com/time-for-windows-server-2008-and-ntp/</link>
		<comments>http://niallbest.com/time-for-windows-server-2008-and-ntp/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 10:26:03 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=220</guid>
		<description><![CDATA[The UK switched to BST (British Summer Time) on the 27th March and while the idea of altering the time dependent on the position of the planet in its orbit around the sun can be questioned the need for servers and &#8230; <a href="http://niallbest.com/time-for-windows-server-2008-and-ntp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The UK switched to <a href="http://en.wikipedia.org/wiki/British_Summer_Time">BST</a> (British Summer Time) on the 27th March and while the idea of altering the time dependent on the position of the planet in its orbit around the sun can be questioned the need for servers and other networked devices to show the correct time is important.</p>
<p><a href="http://en.wikipedia.org/wiki/Network_Time_Protocol">NTP</a> is the protocol used to synchronise clocks across data networks.  Normally, for Windows Servers, you will set your domains operational master to check the time from a <a href="http://en.wikipedia.org/wiki/Atomic_clock">master source</a> and the domain members will check time with the domain operational master.</p>
<p>Of course if you have a standalone server or a different network device you can usually configure them to check directly.  The NTP Pool project (<a href="http://www.pool.ntp.org/">http://www.pool.ntp.org</a>) is a distributed collection of machines that exist to provide accurate time service to machines worldwide.</p>
<p>For the UK they offer local time servers, the full list available here <a href="http://www.pool.ntp.org/zone/uk">http://www.pool.ntp.org/zone/uk</a></p>
<p><strong>Settings for Windows 7 &amp; Server 2008 to use pool.ntp.org servers</strong></p>
<p><img class="aligncenter size-full wp-image-221" title="Windows 7 default time settings" src="http://niallbest.com/wp-content/uploads/2011/03/Windows-7-default-time-settings.jpg" alt="Windows 7 default time settings" width="669" height="743" /></p>
<p>The above administrative command prompt shows the default settings for a non-domain Windows 7 machine.  If you look at the section <em>NtpServer: time.windows.com</em>, this shows that my machine is checking the time with the default server provided by Microsoft. </p>
<p><strong>Steps to change to alternative time server</strong></p>
<ol>
<li>Stop the W32Time service.</li>
<li>Edit the config.</li>
<li>For operational master domain controllers, make a reliable time source.</li>
<li>Start the W32Time service.</li>
</ol>
<ol>
<li>C:\&gt;net stop w32time</li>
<li>C:\&gt;w32tm /config /syncfromflags:manual /manualpeerlist:0.uk.pool.ntp.org,1.uk.pool.ntp.org,2.uk.pool.ntp.org</li>
<li> C:\&gt;w32tm /config /reliable:yes</li>
<li>C:\&gt;net start w32time</li>
</ol>
<p>Once set make sure you open UDP port 123 on your firewall to allow NTP traffic in and out.  If your applying these settings on your home Windows 7 machine or other non-domain server you can omit step 3.</p>
<p>If you’re interested in seeing what settings you have applied first you can check the configuration like so:</p>
<pre>C:\&gt;w32tm /query /configuration</pre>
<p><strong>Checking domain members time subscriptions</strong></p>
<p>To check that a domain member is syncing time with the Active Directory master you can check here in the registry</p>
<pre>HKLM\System\CurrentControlSet\Services\W32Time\Parameters\Type</pre>
<p>If Type is set to <em>Nt5DS</em> then the member machine should be checking with the domain controller for its time.  If Type is set to <em>NTP</em> it will be checking on its own.</p>
<p>You can see what time server the machine is checking with using the /monitor command</p>
<pre>C:\&gt;w32tm /monitor</pre>
<p>Running this command on non-domain machines will result in an error.</p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/time-for-windows-server-2008-and-ntp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unidentified networks in Windows how to make them private</title>
		<link>http://niallbest.com/unidentified-networks-in-windows-how-to-make-them-private/</link>
		<comments>http://niallbest.com/unidentified-networks-in-windows-how-to-make-them-private/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 12:59:58 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=212</guid>
		<description><![CDATA[If you have a network connection in your Network and Sharing Centre that Windows is classifying as an &#8220;Unidentified Network&#8221; chances are you want to make it private for your firewall rules. The problem is that because Windows cannot classify &#8230; <a href="http://niallbest.com/unidentified-networks-in-windows-how-to-make-them-private/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have a network connection in your Network and Sharing Centre that Windows is classifying as an &#8220;Unidentified Network&#8221; chances are you want to make it private for your firewall rules.</p>
<p>The problem is that because Windows cannot classify the type of network, often due to there being no default gateway specified on remote access LAN connections, the default is to make it public as this offers the most restrictive level of network access.  </p>
<p>Irritatingly Windows Server 2008 and Windows 7 do not allow you to alter the type of network if it is classified as unidentified when using the Network and Sharing Centre.</p>
<p><img class="aligncenter size-full wp-image-214" title="Unidentified network public" src="http://niallbest.com/wp-content/uploads/2011/03/Unidentified-network-public.jpg" alt="Unidentified network public" width="564" height="185" /></p>
<p>A temporary measure is to set the unidentified network to private using PowerShell.  See the MSDN blogs for the script. Be warned though, if you reboot the unidentified network will return to public.</p>
<p><a href="http://blogs.msdn.com/b/dimeby8/archive/2009/06/10/change-unidentified-network-from-public-to-work-in-windows-7.aspx">http://blogs.msdn.com/b/dimeby8/archive/2009/06/10/change-unidentified-network-from-public-to-work-in-windows-7.aspx</a></p>
<p>A more permanent solution, but a possible security risk, is to set any unidentified network to be classified as private rather than public by default.  To do this we need to modify the defaults using the local security policy.  See the steps below.</p>
<p><img class="aligncenter size-medium wp-image-215" title="Local security policy" src="http://niallbest.com/wp-content/uploads/2011/03/Local-security-policy-640x344.jpg" alt="Local security policy" width="640" height="344" /></p>
<ol>
<li>In Administrative tools, open “Local Security Policy”.</li>
<li>Select “Network List Manager Polices” in the left hand pane.</li>
<li>In the right hand pane open “Unidentified Networks” and choose “Private” in the location type.</li>
<li>Check your firewall settings will not lock you out of the system once the rules apply.</li>
<li>Close the dialogue and reboot to apply the changes.</li>
</ol>
<p><img class="aligncenter size-full wp-image-216" title="Unidentified network private" src="http://niallbest.com/wp-content/uploads/2011/03/Unidentified-network-private.jpg" alt="Unidentified network private" width="564" height="185" /></p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/unidentified-networks-in-windows-how-to-make-them-private/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dial plan for UK VoIP calls</title>
		<link>http://niallbest.com/dial-plan-for-uk-voip-calls/</link>
		<comments>http://niallbest.com/dial-plan-for-uk-voip-calls/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 15:50:34 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=206</guid>
		<description><![CDATA[Using a VoIP telephone system provides a great deal of flexibility over your calls.  This can be great if you are a business and have a lot of calls or are a home user and have a special VoIP provider &#8230; <a href="http://niallbest.com/dial-plan-for-uk-voip-calls/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using a VoIP telephone system provides a great deal of flexibility over your calls.  This can be great if you are a business and have a lot of calls or are a home user and have a special VoIP provider to call relatives overseas.</p>
<p>This flexibility comes at the cost of having to understand the complex and initially confusing dial plan; the regular expression that tells the phone how it should route your call based on the number you have typed.</p>
<p>Chances are your VoIP telephone is using the default dial plan that looks similar to this</p>
<pre>(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</pre>
<p>Now at first sight that looks confusing, lets break it down to figure out what is going on.  First some details of the syntax.</p>
<p>| Separates items in the dial plan.</p>
<p>* Is the star key on the phone keypad.</p>
<p># Is the pound or hash key.</p>
<p>x Defines a single digit 0-9.</p>
<p>x. Repeat the previous numeral zero or more times.</p>
<p>[] Range of explicit values. E.g. [3469] 3 or 4 or 6 or 9.</p>
<p>[2-9] Numbers 2 through 9 allowed.</p>
<p>[25-7*] Numbers 2 or 5 or 6 or 7 or *</p>
<p>! Used for barring numbers.</p>
<p>, Sends the dial tone to the handset.</p>
<p>S0 Immediate dial, do not wait for caller timeout.</p>
<h2>Dissecting the default dial plan</h2>
<p>The default dial plan on most VoIP systems is setup for callers in the USA, once you’ve figured this part out it’s easy to see how the patterns would match.</p>
<pre>(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</pre>
<p>*xx Allows redial last caller service e.g. *69</p>
<p>[3469]11 Allows you to dial a host of USA based emergency and information services including the commonly known 911.</p>
<p>0 Zero is a common prefix for numbers, all internal calls in the UK begin with 0.</p>
<p>00 Zero zero is the international dialling prefix when calling FROM the UK to a foreign country.</p>
<p>[2-9]xxxxxx This is a USA dialling rule for local calls within the same area code(Simpsons episode 250?)</p>
<p>1xxx[2-9]xxxxxxS0 Again this is a national USA phone number, usually written 1-(555) 123-1234 S0 for immediate dial on the end.</p>
<p>xxxxxxxxxxxx Finally at the end any 12 digit phone number.</p>
<h2>Dial plan for the UK</h2>
<p>For use in the UK I find this is a better dial plan.</p>
<pre>(&lt;911:999&gt; | &lt;00:00&gt;x. | &lt;:441642&gt;[2-9]xxxx. | xxxxxxxxxxxx. | 1xxx | 0[45689]x.| [1xx] | 999S0)</pre>
<p>So breaking it down as before we have.</p>
<p>&lt;911:999&gt;  911 to 999 Conversion for American visitors to our offices just in case.</p>
<p>&lt;00:00&gt;x. Allows for all international numbers from the UK. (essential for our international sites)</p>
<p>&lt;:441642&gt;[2-9]xxxx. Allows 5 or 6 digit local numbers to be prefixed with the local area code.</p>
<p>xxxxxxxxxxxx. Allows any full telephone number not covered by other rules.</p>
<p>1xxx Allows for special service numbers like 1471 for ring back and 1571 for voice mail.</p>
<p>0[45689]x. Allows for special numbers in the UK, 0800, 0500 and 09 etc.</p>
<p>[1xx] Again used for special numbers like 123 (speaking clock) and 141 (withhold number).</p>
<p>999S0 finally, allow 999 to be dialled directly and dial immediately.</p>
<p><span style="color: #000000; font-size: 23px; line-height: 35px;">Advanced rules</span></p>
<p>The dial plan constructed for use in our office is very open in its restrictions and UK centric.  Many home users may want to restrict the use of premium 0871 numbers and 09 preium rate numbers, but at work we have need to be able to dial such numbers and have policies in place to deal with staff who abuse the open system.</p>
<p>More advanced uses of the dial plan include routing calls between different VoIP providers.  If, for example, you had relatives in Australia and friends in Japan you might have a different VoIP provider for each country.</p>
<p>In this case you could add the following rules</p>
<p>&lt;0061:0061&gt;x.&lt;:@gw1&gt; | &lt;0081:0081&gt;x.&lt;:@gw2&gt;</p>
<p>Each of these say if dialling Australia (country code 61) route calls via VoIP gateway 1 and if calling Japan (country code 81) route via VoIP provider 2.</p>
<p>There are some excellent resources on Wikipedia on the state of the UK telephone system and a excellent php based dial plan simulator you can use when testing your own rules.</p>
<h2>Useful  resources</h2>
<p><a href="http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom">http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</a></p>
<p><a href="http://www.netphonedirectory.com/pap2_dialplan.htm">http://www.netphonedirectory.com/pap2_dialplan.htm</a></p>
<p><a href="http://supremeit.com/voip/dialplan.php">http://supremeit.com/voip/dialplan.php</a></p>
<p><a href="http://www.cisco.com/en/US/products/ps10033/products_qanda_item09186a0080a35db6.shtml?referring_site=smartnavRD">http://www.cisco.com/en/US/products/ps10033/products_qanda_item09186a0080a35db6.shtml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/dial-plan-for-uk-voip-calls/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FileZilla Server passive settings</title>
		<link>http://niallbest.com/filezilla-server-passive-settings/</link>
		<comments>http://niallbest.com/filezilla-server-passive-settings/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 17:18:58 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=198</guid>
		<description><![CDATA[FTP (File Transfer Protocol) may seem a bit old hat in the days of peer-to-peer but is still one of the most widely used transfer protocols, especially in business. The biggest problem with FTP is that in order to create &#8230; <a href="http://niallbest.com/filezilla-server-passive-settings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>FTP (File Transfer Protocol) may seem a bit old hat in the days of peer-to-peer but is still one of the most widely used transfer protocols, especially in business.</p>
<p>The biggest problem with FTP is that in order to create a connection both parties must be able to communicate over the same ports for both commands and data.  With many users being protected by corporate firewalls, NAT and SPI (Stateful Packet Inspection) Routers it can be tough job.</p>
<p>An excellent technical background on exactly what happens during the FTP process and the differences between Active and Passive FTP can be found here <a href="http://slacksite.com/other/ftp.html">http://slacksite.com/other/ftp.html</a></p>
<p><strong>Configuring FileZilla on Windows to accept Passive FTP connections</strong></p>
<p>Connect to your FileZilla server interface and click on the Passive mode settings</p>
<p><a href="http://niallbest.com/wp-content/uploads/2011/02/FileZilla_Passive_Settings.jpg"><img class="aligncenter size-full wp-image-199" title="FileZilla_Passive_Settings" src="http://niallbest.com/wp-content/uploads/2011/02/FileZilla_Passive_Settings.jpg" alt="Passive settings for FileZilla server" width="596" height="403" /></a></p>
<p>Here we are telling FileZilla server to use the range of ports that we are going to open on our firewall.  For my sever using Default correctly identifies the fixed IPv4 public Internet address of the server.  If you have connection issues manually enter your fixed IP in the box below by altering the radio button.</p>
<p><a href="http://niallbest.com/wp-content/uploads/2011/02/FileZilla_Firewall_Passive_Settings.jpg"><img class="aligncenter size-medium wp-image-200" title="FileZilla_Firewall_Passive_Settings" src="http://niallbest.com/wp-content/uploads/2011/02/FileZilla_Firewall_Passive_Settings-640x346.jpg" alt="Firewall ports to open for passive FTP" width="640" height="346" /></a></p>
<p>Here we can see the firewall rules that I have setup for FTP and FTPS.</p>
<p>We have the internal IP address on the LAN of our FileZilla FTP server and the protocol and port ranges that need to be opened.  FTP uses only TCP ports so you don’t need to open any UDP ports.</p>
<p><strong>Configuring Windows Server Advanced firewall rules for FTP</strong></p>
<p>Using the administrative command line you can specify that you want to open the following ports on your Windows Server firewall.</p>
<pre>netsh advfirewall firewall add rule name="FTP (non-ssl)" action=allow protocol=TCP dir=in localport=21</pre>
<p>Rather than creating a rule to open all those TCP ports (41500-65535) Windows Server is smart enough to recognise when a high numbered port is needed for data transfer in a FTP session.</p>
<pre>netsh advfirewall set global StatefulFtp enable</pre>
<p>This command disables the blocking of FTP traffic allowing the requreid ports to be opened only when needed.  You can get all the details on the Windows Server advanced firewall netsh commands from Technet.</p>
<p><a href="http://technet.microsoft.com/en-us/library/cc771920(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc771920(WS.10).aspx</a></p>
<p>Finally, from a client machine outside your network (to simulate real user connections) connect in passive mode using FileZilla client for Windows.</p>
<pre><span style="font-family: 'Courier 10 Pitch', Courier, monospace; color: #222222;"><span style="line-height: 21px;">
<div id="_mcePaste">Status:		Connecting to 213.106.150.123:21...</div>
<div id="_mcePaste">Status:		Connection established, waiting for welcome message...</div>
<div id="_mcePaste">Response:	220 Welcome</div>
<div id="_mcePaste">Command:	USER ftp_user0157</div>
<div id="_mcePaste">Response:	331 Password required for ftp_user0157</div>
<div id="_mcePaste">Command:	PASS *************</div>
<div id="_mcePaste">Response:	230 Logged on</div>
<div id="_mcePaste">Status:		Connected</div>
<div id="_mcePaste">Status:		Retrieving directory listing...</div>
<div id="_mcePaste">Command:	PWD</div>
<div id="_mcePaste">Response:	257 "/" is current directory.</div>
<div id="_mcePaste">Command:	TYPE I</div>
<div id="_mcePaste">Response:	200 Type set to I</div>
<div id="_mcePaste">Command:	PASV</div>
<div id="_mcePaste">Response:	227 Entering Passive Mode (213,106,150,123,177,45)</div>
<div id="_mcePaste">Command:	MLSD</div>
<div id="_mcePaste">Response:	150 Connection accepted</div>
<div id="_mcePaste">Response:	226 Transfer OK</div>
<div id="_mcePaste">Status:		Directory listing successful</div>

</span></span></pre>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/filezilla-server-passive-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entering Exchange 2010 Product Key After installation</title>
		<link>http://niallbest.com/entering-exchange-2010-product-key-after-installation/</link>
		<comments>http://niallbest.com/entering-exchange-2010-product-key-after-installation/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 21:17:10 +0000</pubDate>
		<dc:creator>Niall</dc:creator>
				<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://niallbest.com/?p=188</guid>
		<description><![CDATA[I had to install Exchange 2010 on a 120day trial for a client recently.  The planned weekend for the down time had arrived but the new partner licenses had not.  No bother I thought, it will be easy to enter &#8230; <a href="http://niallbest.com/entering-exchange-2010-product-key-after-installation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had to install Exchange 2010 on a 120day trial for a client recently.  The planned weekend for the down time had arrived but the new partner licenses had not.  No bother I thought, it will be easy to enter the Exchange 2010 license when it arrives as the new ‘change your license key anytime’ feature in Server 2008 is great.</p>
<p>Not so in Exchange 2010.  What you get when running on a trial key is a pop-up box every time you open the Exchange Management Console.</p>
<p><a href="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Unlicensed-Server-Alert.jpg"><img class="aligncenter size-full wp-image-189" title="Exchange 2010 Unlicensed Server Alert" src="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Unlicensed-Server-Alert.jpg" alt="Exchnage 2010 unlicensed server alert" width="479" height="278" /></a></p>
<p>It informs you to enter your new license in the “Exchange server work centre action pane” but where on earth is that?</p>
<p><a href="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Enter-Product-Key.jpg"><img class="aligncenter size-full wp-image-190" title="Exchange 2010 Enter Product Key" src="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Enter-Product-Key.jpg" alt="Exchange 2010 Enter Product Key" width="699" height="369" /></a></p>
<p>From the Exchange 2010 Management Console.</p>
<ol>
<li>Expand Microsoft Exchange</li>
<li>Select ‘Server Configuration’</li>
<li>Select the unlicensed Exchange 2010 server and right click.</li>
<li>Finally select ‘Enter Product Key…’ to start the license wizard.</li>
</ol>
<p><a href="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Product-Key-Successful.jpg"><img class="aligncenter size-full wp-image-191" title="Exchange 2010 Product Key Successful" src="http://niallbest.com/wp-content/uploads/2011/01/Exchange-2010-Product-Key-Successful.jpg" alt="Exchange 2010 Product Key Successful" width="636" height="357" /></a></p>
<p>Once you’re all done you should get the success message.  Simply restart the Information Store service or restart the machine with any necessary Windows Updates.</p>
<p><strong>Note:</strong></p>
<p>The preferred way of doing anything now in the majority of Microsoft’s server products is with PowerShell 2.0.  Exchange 2010 is no exception.  The confirmation screen of the wizard nicely displays the PowerShell command executed; here it is repeated with a dummy product key for completeness.</p>
<pre>Set-ExchangeServer -Identity yourserver -ProductKey ABC12-DEF34-GHI56-JKL78-MNO90</pre>
]]></content:encoded>
			<wfw:commentRss>http://niallbest.com/entering-exchange-2010-product-key-after-installation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: niallbest.com @ 2012-02-06 11:50:05 -->

