zl程序教程

您现在的位置是:首页 >  大数据

当前栏目

samba 最简单配置 共享

配置 简单 共享 samba
2023-09-14 09:00:10 时间

 

[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