我用vmvare 做的 虚拟linux 想在linux 和 window 之间传递数据 。想到samba ,第一次调 还是费了 时间
在 /etc/samba/ 配置smb.conf
include=/etc/samba/smbshared.conf
[global]
# workgroup = smbGROUP
server string = Samba Server Version %v
netbios name = smbSERVER
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
security = user
passdb backend = tdbsam
load printers = no
; cups options = raw
; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups
[test] // 这个名字 是在window 看到的目录名称
comment=readOnly
path=/tmp/share
browseable=yes
writable=yes
valid

本文介绍了如何在VMware虚拟机上的Linux环境中配置Samba服务,以实现与Windows之间的文件共享。通过修改smb.conf配置文件,启动smb和nmb服务,解决了因CUPS打印机配置问题导致的错误。同时,提到了在Windows端启用相关服务和使用测试工具进行验证的过程。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



