<?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/category/server/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>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Samba &#8211; idmap Fatal Error: UID range full!!</title>
		<link>http://it.mamak.info/samba-idmap-fatal-error-uid-range-full/</link>
		<comments>http://it.mamak.info/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[]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fit.mamak.info%2Fsamba-idmap-fatal-error-uid-range-full%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fit.mamak.info%2Fsamba-idmap-fatal-error-uid-range-full%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<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/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/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/samba-idmap-fatal-error-uid-range-full/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
