Some notes how I’ve quickly set up Samba share for my macOS machines in the local network.

Installation Link to heading

# pkg install samba413

Samba Configuration Link to heading

# vim /usr/local/etc/smb4.conf
[global]
workgroup = WORKGROUP
server string = FreeBSD Server Samba
netbios name = freebsd-desktop
wins support = yes
security = user
passdb backend = tdbsam


[archive]
path = /backuppool/archive
valid users = gogo
public = no
writable  = yes
browsable = yes
read only = no
guest ok = no
create mask = 0755
directory mask = 0755
pdbedit -a -u gogo
new password:
retype new password:

Enable Samba Server Link to heading

sysrc samba_server_enable="YES"
service samba_server start