[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync = no map to guest = bad user security = user hosts allow = all #hosts deny = 0.0.0.0/0 interfaces = 127.0.0.1 enp0s31f6 bind interfaces only = yes netbios name = REALCOM server min protocol = NT1 server max protocol = SMB3 client min protocol = SMB2 client max protocol = SMB3 [RealData] path = /media/realcom/realser/Real_Data available = yes valid users = realcom read only = no browsable = yes public = yes writable = yes locking = yes strict locking = yes oplocks = yes level2 oplocks = no veto oplock files = /*.docx/*.xlsx/ [4T_1_Disk] path = /media/realcom/4T_1 browsable = yes writable = yes guest ok = no read only = no force user = nobody [4T_1_Disk\uploder] path = /media/realcom/4T_1/uploder browsable = yes writable = yes guest ok = no read only = no force user = nobody