A little knowledge for configuring Samba-shares by hand
On Ubuntu 20:
# apt-get install samba
Good information: http://linux-training.be/networking/ch21.html
Let more or less as it is for a simple file sharing.
etc/samba/smb.conf
, the sync of the users between unix and samba seems not to work ⇒ disable the sync into /etc/samba/smb.conf
and sync by hand with the CLISmall tricks https://wiki.guedel.eu/doku.php?id=welcome:linux_usually:small_tricks#users_and_groups
# systemctl restart smbd
/etc/samba/smb.conf
# testparm
# cat /etc/groups
# gpasswd -d username groupname
# usermod -a -G groupname username
# groups username
# cat /etc/passwd
# deluser username
# smbpasswd -x username
# smbpasswd -a username
# adduser username
# pdbedit -L -v
id username
# addgroup group_name --gid the_gid
# adduser user_name --uid the_uid
# systemctl status smbd nmbd
# smbstatus
Permissions: