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

 

posted @ 2016-11-26 12:40  bass  阅读(772)  评论(1编辑  收藏  举报