<?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>Colin Godsey &#187; samba</title>
	<atom:link href="http://www.colingodsey.com/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.colingodsey.com</link>
	<description>CRG Studios &#38; Consulting</description>
	<lastBuildDate>Sat, 06 Mar 2010 00:09:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Resolving Windows Host Names (NetBIOS, Samba, WINS) in Linux</title>
		<link>http://www.colingodsey.com/resolving-windows-host-names-netbios-samba-in-linux/</link>
		<comments>http://www.colingodsey.com/resolving-windows-host-names-netbios-samba-in-linux/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 15:02:08 +0000</pubDate>
		<dc:creator>Colin Godsey</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.colingodsey.com/?p=64</guid>
		<description><![CDATA[I&#8217;ve always wished I could just use my Windows computers name when im trying to VNC in or trying to reference it&#8217;s network address for other reasons when connecting in from my Ubuntu computer, like it works in Windows. I&#8217;ve been spoiled by the fact that I can usually just type &#8216;ping ComputerName&#8217; from my [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always wished I could just use my Windows computers name when im trying to VNC in or trying to reference it&#8217;s network address for other reasons when connecting in from my Ubuntu computer, like it works in Windows. I&#8217;ve been spoiled by the fact that I can usually just type &#8216;ping ComputerName&#8217; from my windows computer instead of having to go look up the ip and ping it that way from my Linux machine. So, how do I go about recreating that in Linux? Pretty easy actually. You need to have Samba and its libraries installed, which they are usually are by default. Then all you have to do is edit <em>/etc/nsswitch.conf</em> and add the word <em>wins</em> to the end of the <em>hosts</em> list. That should be it! You should be able to go to terminal and ping all the Windows computers on your network by their WINS name.</p>
<blockquote><p># /etc/nsswitch.conf<br />
#<br />
# Example configuration of GNU Name Service Switch functionality.<br />
# If you have the `glibc-doc-reference&#8217; and `info&#8217; packages installed, try:<br />
# `info libc &#8220;Name Service Switch&#8221;&#8216; for information about this file.</p>
<p>passwd:         compat<br />
group:          compat<br />
shadow:         compat</p>
<p>hosts:          files dns mdns4 wins<br />
networks:       files</p>
<p>protocols:      db files<br />
services:       db files<br />
ethers:         db files<br />
rpc:            db files</p>
<p>netgroup:       nis</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.colingodsey.com/resolving-windows-host-names-netbios-samba-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
