apt-get install samba samba-common cups smbclient
smbpasswd -a user
pdbedit -L -v
workgroup = yourworkgroup server role = standalone server map to guest = bad user
server string = Samba Server %v netbios name = machinename security = user
browseable = yes read only = yes write list = user create mask = 0600 directory mask = 0700
/etc/init.d/samba restart systemctl restart nmbd.service systemctl restart smbd.service
smbtree -b -N smbtree -b -U user%passwd smbclient -L machinename [user] smbstatus --shares
smbclient //machine/share -U user%passwd