This post is going to look scary but that's only because I'm suggesting you fix a few other things along the way. There are a number of things you need to change in order for Samba to play nice in a peer-to-peer environment in LMDE:
Edit smb.conf as root:
- Code: Select all
gksu gedit /etc/samba/smb.conf
Add the following lines to the
[global] section os smb.conf:
- Code: Select all
map to guest = bad user
- Code: Select all
usershare allow guests = yes
Save the file and exit gedit and back in the terminal install two packages:
- Code: Select all
sudo apt-get install gvfs-fuse
- Code: Select all
sudo apt-get install smbclient
Add yourself to two groups:
- Code: Select all
sudo gpasswd -a altair sambashare
- Code: Select all
sudo gpasswd -a altair fuse
Changing altair to your own user login nameRestart samba:
- Code: Select all
sudo service samba restart
Then logoff and login again ( this is for the group changes to take affect ).
Actually, the only thing you needed to do to fix your specific problem was to add yourself to the sambashare group but you might as well make the other modifications to save yourself from the aggravation of diagnosing other samba related issues later on.
Please note that there are two peculiar bugs even after you make the above changes:(1) When you create the nautilus-share and after selecting "Create Share" Nautilus will not only abruptly disappear but so will your entire desktop. Fear not, Nautilus will not reappear but your desktop will.
(2) When you bring up Nautilus don't expect the "share emblem" to appear on the folder you're sharing. It simply won't be there. It's also a problem with Ubuntu so it's a technical problem with either Gnome or Nautilus itself that is beyond the capability of the current set of software developers to fix. The only way to know for sure what you have shared and how it's shared is to issue the following command:
- Code: Select all
net usershare info