Samba Config
☰ Table of Content
Quick samba config to share home directory only.
smb.config
[global]
|
|
Add following line to [global]
section if samba printer sharing is not required.
|
|
Add following lines to debug connection issue.
|
|
[homes]
Add a [homes]
section if sharing home directories of Linux users.
Change path
if home
directory is not at standard location (eg. /data/home
).
browerable
should always be no
, else the directory homes
will show up as network share, which is extremely annoying and confusing.
|
|
User Setup
User cannot connect without this step.
Users connecting to samba share, including homes
share, must be setup with smbpasswd
.
|
|
Disable NetBIOS (Alpine Linux)
Comment out nmbd
related options in /etc/conf.d/samba
|
|
John Siu
Update: 2023-07-09
Tag
[samba]