User Tools

Site Tools


buster: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]
browseable = yes
read only = no

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

smbpasswd -a slack
# 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
buster/samba.1578676957.txt.gz · Last modified: 2020/01/10 17:22 by slack