<?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>ItHowTo.ro &#187; samba</title>
	<atom:link href="http://www.ithowto.ro/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ithowto.ro</link>
	<description>Blog about IT realated stuff by WSS</description>
	<lastBuildDate>Tue, 06 Jul 2010 16:35:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Samba: Can&#8217;t browse domain computers list. The network path was not foud.</title>
		<link>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/</link>
		<comments>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/#comments</comments>
		<pubDate>Mon, 18 May 2009 10:53:04 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux administration]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=102</guid>
		<description><![CDATA[I&#8217;ve ran into this situation while configuring a samba domain. I&#8217;ve searched for hours in forums and in google and found lots of causes for this issue. In my case i had the following:
i could ping the domain clients using their netbios name ( my pdc was also running as a wins server )
i could [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ran into this situation while configuring a samba domain. I&#8217;ve searched for hours in forums and in google and found lots of causes for this issue. In my case i had the following:</p>
<p>i could ping the domain clients using their <strong>netbios name</strong> ( my pdc was also running as a wins server )</p>
<p>i could acces the clients by using their netbios name ( eg. <strong>\\netbiosname</strong> )</p>
<p>I just couldn&#8217;t <strong>browse the domain</strong> ( the <strong>list with computers on my domain</strong> ).</p>
<p>The problem was caused by samba working only on port <strong>445</strong>. I&#8217;ve enabled <strong>samba </strong>to work on port <strong>139 </strong>also and the error was gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: rename a samba domain member computer from registry</title>
		<link>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/</link>
		<comments>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:46:43 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux administration]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=99</guid>
		<description><![CDATA[I had the difficult task to reorganise a medium network in a factory. Inbetween all the operations i had to do i also had to rename all the computers in the network and organise them by departments. Now this wouldn&#8217;t be such a headache unless all the computers are in a linux domain. As you [...]]]></description>
			<content:encoded><![CDATA[<p>I had the difficult task to reorganise a medium network in a factory. Inbetween all the operations i had to do i also had to rename all the computers in the network and organise them by departments. Now this wouldn&#8217;t be such a headache unless all the computers are in a linux domain. As you probably know when joining a domain, every computer gets a &#8220;computer account&#8221;. If you want to rename the computer you have to disconect the computer from the domain, reboot it, rename the computer, reboot it again, re-join the domain and reboot again to be able to login and have the new computer running in the domain again. This really sucks when you have to deal with 50 computers or more. Here&#8217;s the solution i found to do this.</p>
<p><strong>REMEMBER! THIS WORKS WITH A LINUX SAMBA DOMAIN running with a TDBSAM Backend, If you have a WINDOWS DOMAIN or a LINUX DOMAIN with LDAP BACKEND this WON&#8217;T WORK !!!! Also this howto was only tested with WINDOWS XP. I don&#8217;t know if it&#8217;ll work in vista but i think it should.<br />
</strong></p>
<p>First of all you have to login to the computer with a local administrative account ( eg. Administrator ).</p>
<p>Go to -&gt; Start -&gt; run &gt; and type <em><strong>regedit</strong></em>.</p>
<p>Go to this key: <strong>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName]</strong></p>
<p>Under Computer Name you&#8217;ll have 2 subfolders: <strong>ActiveComputerName </strong>and <strong>ComputerName</strong>, and in the 2 subfolders you&#8217;ll see the <strong>key ComputerName</strong> with the <strong>value </strong>being your current computer name. Change both of these values to the new name you want for your machine.</p>
<p>Reboot. ( this is the only time you need to reboot ).</p>
<p>Go to your linux domain controler and search for the <strong>smbpasswd </strong>file. This file stores both the computer and user accounts. Find your old computer&#8217;s name in this file. It should look something like this :</p>
<p><em><strong>GKOO$:1396:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:578E3D23GF5C1AA7588D3295281282EB:[W          ]:LCT-00000000:</strong></em></p>
<p>Change it&#8217;s name to the new name you assigned previously to your windows machine. Be sure to keep the $ mark at the and of the name ( the $ sign means this account is a machine account not a user account ) and also all the other numbers following your computer name.</p>
<p>Next create a machine account on your linux box with the new computer name:</p>
<p><em><strong>useradd -s /bin/false -d /dev/null gkoonew$ </strong></em> ( remember to always attach the $ sign to your machine account name ).</p>
<p>That&#8217;s it you should now be able to login to your domain with the new computer name. If you can&#8217;t watch the samba logs, they&#8217;ll tell you a lot. Also you can remove the old machine account from your linux users database to keep things more organised.</p>
<p>Good luck, GKoo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
