User Tools

Site Tools


stretch:samba

This is an old revision of the document!


Samba

Standalone server (not domain controller).

Check there is no user called administrator (a new Stretch RPi thing?).

grep administrator /etc/passwd

Install shit.

apt-get update
apt-get install libcups2 samba samba-common cups smbclient

(About 100mb of stuff on Raspbian.)

nano /etc/samba/smb.conf
[global]
workgroup = PEAZONE

[homes]
read only = no

Leaving unix password sync = yes might fix the ancient smbadduser headaches? Syncing passwords is still a ballache, so

smbpasswd -a pi
# enter password
service smbd restart

Sambaring /home to a vm

[alito]
  path = /home/slack/alito
  valid users = slack
  writable = yes

Sonos

[sonos]
  comment = All Users
  path = /home/slack/sonos
  valid users = slack
  create mask = 0660
  directory mask = 0771
  writable = yes

Huge

[huge]
   comment Huge
   path = /huge
   valid users = slack
   browseable = yes
   read only = no
   create mask = 0700
   directory mask = 0700
stretch/samba.1515247580.txt.gz · Last modified: 2019/11/07 17:58 (external edit)