文件服务器的简单 samba 配置,无需密码,每个人都可以完全读写。不需要保安。
我正在制作一个服务器来为我的家托管文件。服务器的目标是为 Windows 机器托管文件。到目前为止我设法做的最好的是这种配置。有了这个,我可以从网络看到共享和服务器,但它说 Windows 无法访问它们。我在服务器上使用 Linux mate,所有最新更新。
我的配置:
[global]
workgroup = BIOHAZARD
netbios name = MATUSALEM
guest account = nobody
log file = /usr/local/samba/var/log.%m
max log size = 50
security = user
map to guest = bad user
encrypt passwords = yes
# Share Definitions
[homes]
comment = Home Directories
browseable = no
writable = yes
[Teste]
path = /home/peter/share
writable = yes
printable = no
comment = teste
only guest = yes
public = …
Run Code Online (Sandbox Code Playgroud)