User Tools

Site Tools


buster:samba

This is an old revision of the document!


Samba

Standalone server (not domain controller).

Install shit.

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

(About 40mb of stuff on Raspbian.)

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

[homes]
browseable = yes
read only = no

Syncing passwords is still a ballache, so

smbpasswd -a slack
# enter password

Rasbian:

systemctl restart smbd

Possibly other Debian?:

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.1618524251.txt.gz · Last modified: 2021/04/15 22:04 by slack