<?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>IT Mamak &#187; samba</title>
	<atom:link href="http://it.mamak.info/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://it.mamak.info</link>
	<description>Internet, Information Technology, Computer, Software, Blog, Gadget, Reviews, News etc.</description>
	<lastBuildDate>Sat, 09 Jan 2010 15:10:14 +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>Could not resolve mount point</title>
		<link>http://it.mamak.info/2009/07/could-not-resolve-mount-point/</link>
		<comments>http://it.mamak.info/2009/07/could-not-resolve-mount-point/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 03:45:53 +0000</pubDate>
		<dc:creator>iceman</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smbmount]]></category>

		<guid isPermaLink="false">http://it.mamak.info/?p=127</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-4915968312450457";
google_ad_slot = "5955380414";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>This morning end user complaint that she failed to access to her folder.<br />
After checking I found that my machine didn&#8217;t mount to the file server.<br />
Then I try to remount again but it give me &#8220;Could not resolve mount point&#8221; error message.</p>
<blockquote><p>[root@ftp ~]#<span style="color: #0000ff;">mount -t smbfs -o username=username%password //MyFileServer/SharedFolder /mnt/MountedFolder</span></p>
<p style="color: #ff0000;">Could not resolve mount point /mnt/MountedFolder</p>
</blockquote>
<p>After googling I still failed to get a solution.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4915968312450457";
google_ad_slot = "6548710574";
google_ad_width = 468;
google_ad_height = 15;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Then, I listed my /mnt and found that my MountedFolder got problem as below.</p>
<blockquote><p>[root@ftp mnt]# <span style="color: #0000ff;">ls -l /mnt</span><br />
total 1<br />
<span style="color: #ff0000;">?&#8212;&#8212;&#8212;</span> 1 root     root     4096 Jul 10 11:13 MountedFolder</p></blockquote>
<p>There was a question mark for the folder mod.<br />
<span style="text-decoration: underline;"><strong>Solution:</strong></span><br />
<span style="color: #ff0000;">reboot</span> the machine then list again the folder</p>
<blockquote><p>[root@ftp mnt]#<span style="color: #0000ff;">ls -l /mnt</span><br />
total 1<br />
<span style="color: #ff0000;">drwxrwxrwx</span> 1 root     root     4096 Jul 10 11:13 MountedFolder</p></blockquote>
<p>Now it was back to normal.<br />
Remount again the folder and can access to the mounted folder now.</p>
<p>It could me many reason you get a &#8220;Could not resolve mount point&#8221;.<br />
You may googling the solution and mine is one of the solution.<br />
If you had try others solution and can&#8217;t work and your mount folder have a &#8220;question mark&#8221; aslo.<br />
You should try it.</p>
<p>Have a nice day.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4915968312450457";
google_ad_slot = "9715587130";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>

	Tags: <a href="http://it.mamak.info/tag/mount/" title="mount" rel="tag">mount</a>, <a href="http://it.mamak.info/tag/samba/" title="samba" rel="tag">samba</a>, <a href="http://it.mamak.info/tag/smbmount/" title="smbmount" rel="tag">smbmount</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://it.mamak.info/2008/12/samba-idmap-fatal-error-uid-range-full/" title="Samba &#8211; idmap Fatal Error: UID range full!! (December 9, 2008)">Samba &#8211; idmap Fatal Error: UID range full!!</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://it.mamak.info/2009/07/could-not-resolve-mount-point/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba &#8211; idmap Fatal Error: UID range full!!</title>
		<link>http://it.mamak.info/2008/12/samba-idmap-fatal-error-uid-range-full/</link>
		<comments>http://it.mamak.info/2008/12/samba-idmap-fatal-error-uid-range-full/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 05:00:23 +0000</pubDate>
		<dc:creator>iceman</dc:creator>
				<category><![CDATA[samba]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[idmap]]></category>
		<category><![CDATA[UID range full]]></category>
		<category><![CDATA[winbind]]></category>

		<guid isPermaLink="false">http://it.mamak.info/?p=64</guid>
		<description><![CDATA[


I am using samba file server.
One day, a user told me that he failed to open a shared folder.
Every time he open the shared folder authentication will be prompt.
He still failed to open the shared folder even though he key in the correct user name and password.
After diagnosis I found this error in my /var/log/samba/winbindd.log
more [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-4915968312450457";
google_ad_slot = "5955380414";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>I am using samba file server.<br />
One day, a user told me that he failed to open a shared folder.<br />
Every time he open the shared folder authentication will be prompt.<br />
He still failed to open the shared folder even though he key in the correct user name and password.</p>
<p>After diagnosis I found this error in my /var/log/samba/winbindd.log</p>
<blockquote><p>more /var/log/samba/winbindd.log<br />
show me this:<br />
idmap Fatal Error: UID range full!! (max: 20000)</p></blockquote>
<p>Then I googling and finally find the solution. Google always is my GURU. Thanks Google.</p>
<p>Below are the step to fix this problem.</p>
<p>Stop your samba and winbind services</p>
<blockquote><p>service winbind stop<br />
service smb stop</p></blockquote>
<p>Delete secrets.tdb and smbpasswd</p>
<blockquote><p>rm /etc/samba/secrets.tdb<br />
rm /etc/samba/smbpasswd<br />
rm /var/cache/samba/winbindd_idmap.tdb</p></blockquote>
<p>Ensure &#8220;winbind trusted domains only = no&#8221; if not just modified it in smb.conf</p>
<blockquote><p>testparm -v | grep winbind<br />
or<br />
vi /etc/samba/smb.conf</p></blockquote>
<p>Rejoin the domain</p>
<blockquote><p>net rpc join -S SERVERNAME -U ADMINISTRATOR%ADMINPASSWORD</p></blockquote>
<p>Restart winbind service</p>
<blockquote><p>service winbind start</p></blockquote>
<p>Ensure can get the user list from domain</p>
<blockquote><p>wbinfo -u</p></blockquote>
<p>Fetch list of user accounts and group accounts</p>
<blockquote><p>getent passwd<br />
getent group</p></blockquote>
<p>Test the login from another workstation.<br />
Solved!<br />
Job Done!</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4915968312450457";
google_ad_slot = "5955380414";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>

	Tags: <a href="http://it.mamak.info/tag/error/" title="error" rel="tag">error</a>, <a href="http://it.mamak.info/tag/idmap/" title="idmap" rel="tag">idmap</a>, <a href="http://it.mamak.info/tag/samba/" title="samba" rel="tag">samba</a>, <a href="http://it.mamak.info/tag/uid-range-full/" title="UID range full" rel="tag">UID range full</a>, <a href="http://it.mamak.info/tag/winbind/" title="winbind" rel="tag">winbind</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://it.mamak.info/2008/11/the-rpc-server-is-unavailable/" title="The RPC server is unavailable (November 14, 2008)">The RPC server is unavailable</a> (1)</li>
	<li><a href="http://it.mamak.info/2009/07/could-not-resolve-mount-point/" title="Could not resolve mount point (July 10, 2009)">Could not resolve mount point</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://it.mamak.info/2008/12/samba-idmap-fatal-error-uid-range-full/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
