[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
网名:bass 分享技术 突破难点 创新思维