
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Samba foldersharing in Dolphin or Nautilus the smooth way - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;action=history"/>
		<updated>2013-05-25T21:40:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;diff=19977&amp;oldid=prev</id>
		<title>Hatalar205 at 17:38, 16 November 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;diff=19977&amp;oldid=prev"/>
				<updated>2012-11-16T17:38:08Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:38, 16 November 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{i18n| [[HOWTO: Samba foldersharing in Dolphin or Nautilus the smooth way|en]] [[Tr:HOWTO: Samba foldersharing in Dolphin or Nautilus the smooth way|tr]]}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;1. make shure you have installed samba, kdenetwork-filesharing (for KDE SC) or nautilus-share (for Gnome)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;1. make shure you have installed samba, kdenetwork-filesharing (for KDE SC) or nautilus-share (for Gnome)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hatalar205</name></author>	</entry>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;diff=11154&amp;oldid=prev</id>
		<title>Maulbongo: 20120128 - fixed a codebox</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Samba_foldersharing_in_Dolphin_or_Nautilus_the_smooth_way&amp;diff=11154&amp;oldid=prev"/>
				<updated>2012-01-28T08:23:02Z</updated>
		
		<summary type="html">&lt;p&gt;20120128 - fixed a codebox&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. make shure you have installed samba, kdenetwork-filesharing (for KDE SC) or nautilus-share (for Gnome)&lt;br /&gt;
&lt;br /&gt;
2. open a terminal and become su&lt;br /&gt;
&lt;br /&gt;
3. add a group called sambashare by running&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; groupadd sambashare &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. add your user to the group sambashare&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;&lt;br /&gt;
gpasswd -a %username% sambashare&lt;br /&gt;
(where %username% has to be replaced with your username)&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
5. run these three commands:&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; mkdir /var/lib/samba/usershares &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; chgrp sambashare /var/lib/samba/usershares &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; chmod 1770 /var/lib/samba/usershares &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. add these at the end of the [Global] section in /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;map to guest = bad user&lt;br /&gt;
usershare allow guests = yes&lt;br /&gt;
usershare path = /var/lib/samba/usershares&lt;br /&gt;
usershare max shares = 100&lt;br /&gt;
usershare owner only = false&lt;br /&gt;
username map = /etc/samba/smbusers &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. make sure all entries in&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; /etc/samba/smbusers &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
are commented out&lt;br /&gt;
&lt;br /&gt;
6. For sharing folders in you home folder, make sure that the homefolder of the user is readable to others, otherwise samba can't make the folders there accessable.&lt;br /&gt;
&lt;br /&gt;
7. run &lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; rc-update add samba default &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
so the samba daemon is startet on systemstart (only if samba is not running at startup, for ubuntu or debian this should not be needed, but for Sabayon this is necessary).&lt;br /&gt;
&lt;br /&gt;
8. And as some people will experience that after reboot the nmbd is not started and the shares are not shown you can add to the&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; /etc/local.d/local.start &amp;lt;/pre&amp;gt;}} this {{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; /etc/init.d/samba restart &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
and if you still get problems using this you could try it with the sleep command to enshure that nmbd really can open a socketand if you still get problems using this you could try it with the sleep command to enshure that nmbd really can open a socket&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; /bin/sleep 20 &amp;amp;&amp;amp; /etc/init.d/samba restart &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
this lets the system wait for 20 seconds and then does the restart of the samba service.&lt;br /&gt;
You should find out what is the best time youself, for me the 20 seconds are good working.&lt;br /&gt;
&lt;br /&gt;
9. And the {{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; /etc/hosts &amp;lt;/pre&amp;gt;}} should also be edited because the aliases are confusing smb.&lt;br /&gt;
So I changed it from&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; # IPv4 and IPv6 localhost aliases&lt;br /&gt;
127.0.0.1   localhost sabayon %computername%&lt;br /&gt;
::1      localhost sabayon &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
{{Code||&amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt; # IPv4 and IPv6 localhost aliases&lt;br /&gt;
127.0.0.1   localhost&lt;br /&gt;
::1      localhost &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
10. finally reboot, now you can use the foldersharing by rightclicking within Dolphin or Nautilus&lt;br /&gt;
&lt;br /&gt;
Perhaps this should be implemented in Sabayon as default, so the user experience gets more comfortable.&lt;br /&gt;
&lt;br /&gt;
greetings&lt;br /&gt;
&lt;br /&gt;
maulbongo&lt;/div&gt;</summary>
		<author><name>Maulbongo</name></author>	</entry>

	</feed>