首页 > 代码库 > samba 最简单配置 共享

samba 最简单配置 共享

 

[root@GitLab ~]# cat /etc/samba/smb.conf
[global]
    workgroup = WORKGROUP
    server string = David Samba Server Version %v
    netbios name = DavidSamba
    log file = /var/log/samba/log.%m
    client lanman auth = Yes
    lanman auth = Yes
    client lanman auth = yes
    security = share
    client ntlmv2 auth = no
[public]
    comment = Public Stuff
    path = /data_samba
    public = yes
    writable = yes
;    printable = no

 

# ll /|grep data_samba
drwxr-xr-x    2 nobody    nobody  4096 Nov 26 00:11 data_samba

 

samba 最简单配置 共享