What worked for me : RPi 2 : Enabling Samba share

Enabling samba share on RPi 2 – Ubuntu Mate posed some challenges.

Below is what worked for me.

Install Samba with UI
sudo apt-get install samba samba-common python-glade2 system-config-samba

Edit samba config file
sudo nano /etc/samba/smb.conf

Ensure domain is not set
domain logons = yes
domain master = yes

Add following lines to global section
[global] usershare owner only = false
unix extensions = no
follow symlinks = yes
wide links = yes
ntlm auth = no
lanman auth = no
client ntlmv2 auth = yes

Defined a share as

[] path =
browsable = yes
writable = yes
force user =
valid users = , ...
force create mode = 0770
force directory mode = 0770

One can also move force user = to the top of config file to force user access for all shares

On windows side

  • Use NET USE command to view shares
  • If  a share was accessed by other user and need to be freed up use net use /delete \\server\sharename

Check Also

What worked for me : Windows 7 update Error

For long I kept on facing this peculiar issue where windows update would hang on while “Checking …

Visualizing sort algorithms

The video below is one fantastic way to understand how sort algorithms work. Sorts random …

Leave a Reply

Your email address will not be published. Required fields are marked *