<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx</link><description>On one of our internal aliases, someone asked the following question: [i]s there any API that I can use to do case insensitive comparison of two OEM strings? (NetBIOS names are encoded in OEMCP.) Wow, that's question was a blast from the past. Windows</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3819786</link><pubDate>Thu, 12 Jul 2007 00:08:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3819786</guid><dc:creator>Richard</dc:creator><description>&lt;p&gt;The DNS specification was first published in November 1983 by the IETF (RFC 881 through RFC 883). &amp;nbsp; I would argue that DNS had been &amp;quot;designed&amp;quot; by 1984, just not used (at least on a PC).&lt;/p&gt;</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3820044</link><pubDate>Thu, 12 Jul 2007 00:24:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3820044</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Richard, fair 'nuf, I do know that at the time I left CMU (August 1984) it had not yet been deployed on any of the hosts at CMU - they were still using host tables.&lt;/p&gt;
</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3821838</link><pubDate>Thu, 12 Jul 2007 03:29:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3821838</guid><dc:creator>Norman Diamond</dc:creator><description>&lt;p&gt;&amp;gt; Microsoft's answer was essentially &amp;quot;don't use international&lt;/p&gt;
&lt;p&gt;&amp;gt; characters in your computer names&amp;quot;.&lt;/p&gt;
&lt;p&gt;That needs some adjusting. &amp;nbsp;In most countries where Microsoft operates, the answer is &amp;quot;don't use your own national characters in your computer names, ONLY use international characters from one particular country&amp;quot;. &amp;nbsp;Now, some Windows systems still sometimes warn when this advice is violated, and that warning is pretty much accurate. &amp;nbsp;However, some don't obey their own warning! &amp;nbsp;For example when Vista is being installed, it might recommend a computer name which is based on what might be the owner's name, which isn't very likely to be in ASCII.&lt;/p&gt;
&lt;p&gt;&amp;gt; we STILL had this undefined, undeclared concept of a&lt;/p&gt;
&lt;p&gt;&amp;gt; &amp;quot;network codepage&amp;quot;.&lt;/p&gt;
&lt;p&gt;We still DON'T have a &amp;quot;network codepage&amp;quot;, which is why some problems persist to this day. &amp;nbsp;I think it doesn't explain why odd occurences can be observed within a single computer, and it doesn't explain why filenames might still have problems, but it very well does explain why NetBIOS names still have problems.&lt;/p&gt;
&lt;p&gt;For practical purposes it remains better to use a subset of ASCII for computer names. &amp;nbsp;For the same practical purposes, it would be better if Windows would make that recommendation consistently. &amp;nbsp;Sure it requires holding noses while doing so, but that's easier than tracking down bugs and incompatibilities afterwards.&lt;/p&gt;</description></item><item><title>Wait til you see my 'O'[EMCP based technology]</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3829452</link><pubDate>Thu, 12 Jul 2007 14:48:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3829452</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;p&gt;(no, this post is not about a rap or hip hop song, or its lyrics, though I admit the title may have been&lt;/p&gt;</description></item><item><title>Wait til you see my 'O'[EMCP based technology]</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3830698</link><pubDate>Thu, 12 Jul 2007 15:27:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3830698</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;(no, this post is not about a rap or hip hop song, or its lyrics, though I admit the title may have been&lt;/p&gt;
</description></item><item><title>Week's Links</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3893218</link><pubDate>Mon, 16 Jul 2007 12:34:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3893218</guid><dc:creator>Alessandro "jekil" Tanasi blog</dc:creator><description>&lt;p&gt;How to restore XP activation status information after a reformatWeb Vulnerabilities in the Age of the iPhoneNo ROI? No ProblemEvent Logs in Unallocated SpaceIvan Voras FreeBSD 7 Live CDWindows Vista Integrity Mechanism Technical ReferenceSguil vs. BASEMi&lt;/p&gt;
</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3958917</link><pubDate>Thu, 19 Jul 2007 20:15:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3958917</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Had netbios names been limited to what was reasonable at the time, such as a subset of ASCII (7-bit) (pulling something out of my behind and saying [a-z][A-Z][0-9] + some extra chars like &amp;quot;,.;_+-*#$%&amp;amp;&amp;quot;, where I'd be very reluctant to include &amp;quot;,.;$%&amp;amp;&amp;quot; and especially &amp;quot;*&amp;quot; :-), leaving &amp;quot;_+-&amp;quot;), this would have been a non-problem then, and a non-problem now. Yes, even when shifting case.&lt;/p&gt;
&lt;p&gt;But let me ask; have anyone here encountered a netbios name having chars outside this subset? If yes; have they created more joy or more trouble?&lt;/p&gt;
&lt;p&gt;I know, hindsight is 20-20, but this should really have been a no-brainer - even at the time.&lt;/p&gt;</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#3959220</link><pubDate>Thu, 19 Jul 2007 20:28:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3959220</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;NetBIOS &amp;quot;names&amp;quot; were really a sequence of 16 octets. &amp;nbsp;Nothing more, nothing less.&lt;/p&gt;
&lt;p&gt;Any data could be put in those 16 byte fields.&lt;/p&gt;
&lt;p&gt;And yes, I've encountered netbios names outside this subset. &amp;nbsp;Many, many, many times.&lt;/p&gt;
</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#4003866</link><pubDate>Mon, 23 Jul 2007 03:54:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4003866</guid><dc:creator>Norman Diamond</dc:creator><description>&lt;p&gt;Thursday, July 19, 2007 1:15 PM by Mike&lt;/p&gt;
&lt;p&gt;&amp;gt; ,.;_+-*#$%&amp;amp;&lt;/p&gt;
&lt;p&gt;I notice you omit @. &amp;nbsp;Various Windows systems with various settings have various problems with @ in various places. &amp;nbsp;You should have omitted $ for the same reason, instead of adding it to your &amp;quot;reluctant&amp;quot; list. &amp;nbsp;Actually I recall reading that $ had a meaning in NetBIOS even before Microsoft copied it.&lt;/p&gt;
&lt;p&gt;&amp;gt; this would have been a non-problem then, and a non-problem&lt;/p&gt;
&lt;p&gt;&amp;gt; now. Yes, even when shifting case.&lt;/p&gt;
&lt;p&gt;It would be a non-problem if shifting case would be done the way Turkey does it. &amp;nbsp;Well maybe not completely, because it might be a problem outside Turkey, but that doesn't count. &amp;nbsp;Turks know why Turkey is the only country that counts. &amp;nbsp;Americans might disagree with one of the details there but Americans understand that reasoning very well.&lt;/p&gt;
&lt;p&gt;Thursday, July 19, 2007 1:28 PM by LarryOsterman&lt;/p&gt;
&lt;p&gt;&amp;gt; Any data could be put in those 16 byte fields.&lt;/p&gt;
&lt;p&gt;Yes that is true. &amp;nbsp;And this is why Windows sometimes gives warnings (not errors) where, for practical purposes, some selections might not be advisable. &amp;nbsp;I think it would help if Windows would more accurately diagnose these conditions, for practical purposes, even though we have to hold our noses while doing so.&lt;/p&gt;
&lt;p&gt;One common reason for encountering NetBIOS names outside that subset is the installer for Windows in the first place. &amp;nbsp;After asking what the owner's name is going to be, it recommends a machine name that includes the owner's name. &amp;nbsp;If I recall correctly, during installation it doesn't even warn at all that the recommended machine name will have a high probability of NetBIOS problems.&lt;/p&gt;</description></item><item><title>re: How do I compare two different NetBIOS names?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/07/11/how-do-i-compare-two-different-netbios-names.aspx#4430657</link><pubDate>Fri, 17 Aug 2007 17:36:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4430657</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;As being discussed on MichKap's site, &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/michkap/archive/2007/08/16/4421520.aspx"&gt;http://blogs.msdn.com/michkap/archive/2007/08/16/4421520.aspx&lt;/a&gt;, non-Windows NetBios names and comments cause a different problem altogether - the default is to use the MacRoman single quote, which isn't handled by any of these options. Any advice?&lt;/p&gt;</description></item></channel></rss>