samba服务配置--smb.conf

时间:2022-03-09 17:50:03

使用samba进行文件共享,简单的配置.

#smb.conf

[global]

workgroup = china

server string = samba server

security = share

#wins support = no


[download]

path = /tmp/download

guest ok = yes

available = yes

browsable = yes

public = yes

writable = yes

[tmp]

path = /tmp

writable = yes

public = yes


#mount -t smbfs //winIP/共享目录名 /mnt/d (linux访问win共享目录)