smb.conf

来自「这是一个linux+arm的嵌入式smb服务器的配置文件」· CONF 代码 · 共 35 行

CONF
35
字号
#set the global param[global]#it's about code,notice that the cp367 must be existed in your systerm. else you should chage the one existed  in your #systerm doscharset = cp367   unixcharset = cp367   #this is your net workgroup's name   workgroup = chip   #this is the notation about this samba server,it is not important   server string = Samba Server   #this is important. 如果需要密码验证设成user。不许要设成share   security = user   #密码加密   encrypt passwords = yes    smb passwd file = /etc/samba/smbpasswd   socket options = IPTOS_LOWDELAY;   obey pam restrictions = yes    #是否使用dns    dns proxy = no[share]   #设定共享路径   path =/share      guest ok = no   #使登陆的用户据有root权限,也可以不设,但是在mount硬盘时,只有root用户有写权限,所以此处设为root   force user = root    browseable = yes   directory mode = 0777   create mode = 0777   valid users = user    write list = user 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?