<?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>NamHuy &#187; GUI</title>
	<atom:link href="http://namhuy.org/blog/tag/gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://namhuy.org/blog</link>
	<description>Includes news, help, tutorials, programming, tips and how-to guides for Linux, UNIX, and BSD</description>
	<lastBuildDate>Wed, 21 Mar 2012 03:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>5 Minutes on Linux: Unable to remove user shares</title>
		<link>http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/</link>
		<comments>http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/#comments</comments>
		<pubDate>Mon, 31 May 2010 20:30:58 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[user shares]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=93</guid>
		<description><![CDATA[Problem: I shared a folder using samba sometime back, the share name I used was “MyDocs”, the user was removed later.  After logging in as a new user, I’m unable to use the share name “MyDocs”. Challenge: for GUI users, &#8230; <a href="http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> I shared a folder using samba sometime  back, the share name I used was “MyDocs”, the user was removed later.   After logging in as a new user, I’m unable to use the share name  “MyDocs”.</p>
<p><strong>Challenge:</strong> for GUI users, one does not have a  facility to unshare or manage the orphan shares.</p>
<p><strong>Solution</strong> 1 (to unshare): use the command line:</p>
<ol>
<li>net usershare list</li>
<li>net usershare delete sharename</li>
</ol>
<p><strong>Solution</strong> 2 (to remove orphan shares):</p>
<p>ls -l /var/lib/samba/usershares</p>
<p>sudo rm /var/lib/samba/usershares/sharename</p>
<p>Once this is done, I was able to reuse the share name again.   However, in the current model, it is clear that the shares with same  name (even when share is from  different users) they must all be unique.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F05%2F31%2F5-minutes-on-linux-unable-to-remove-user-shares%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/"  data-text="5 Minutes on Linux: Unable to remove user shares" data-count="horizontal"></a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/05/31/5-minutes-on-linux-unable-to-remove-user-shares/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.311 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 07:05:59 -->
<!-- Compression = gzip -->
