Samba 和 WSDD 仍然无法与 Windows 10 和 Ubuntu 18.04 共享

Samba 和 WSDD 仍然无法与 Windows 10 和 Ubuntu 18.04 共享

我按照(我认为)的说明这个帖子并从文件中删除了“用户”和“组” /etc/systemd/system/wsdd.service,安装了最新的 Samba 并向其中添加了一个用户。它与 Windows 10 中使用的名称和密码相同。

我编辑了 SMB.CONF 来共享我的 NTFS 格式的磁盘,如下所示:

[P-1800]
path = /media/darrell/P-1800
writeable = yes
force user = darrell

[另有 3 股]

全局设置更改为:

workgroup = WORKGROUP
force user = darrell
client max protocol = NT1

并且我认为我已经将“security = user”添加到了“全局定义”部分。

进行更改后,我执行sudo systemctl restart smbd nmbd并启动了 WSDD,/usr/bin/wsdd -4 -v &并得到:

2020-01-18 17:14:08,471:wsdd WARNING(pid 3097): no interface given, using all interfaces
2020-01-18 17:14:08,471:wsdd INFO(pid 3097): using pre-defined UUID 2e59ba01-7d42-5a44-a9ef-8d0e740f77ff
2020-01-18 17:14:08,477:wsdd INFO(pid 3097): joined multicast group ('239.255.255.250', 3702) on 192.168.1.128%enp4s0
2020-01-18 17:14:08,484:wsdd INFO(pid 3097): 192.168.1.124 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,484:wsdd INFO(pid 3097): 192.168.1.123 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,485:wsdd INFO(pid 3097): 192.168.1.120 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,486:wsdd INFO(pid 3097): 192.168.1.120 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,487:wsdd INFO(pid 3097): 192.168.1.127 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,489:wsdd INFO(pid 3097): 192.168.1.121 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -
2020-01-18 17:14:08,490:wsdd INFO(pid 3097): 192.168.1.121 - - "POST /2e59ba01-7d42-5a44-a9ef-8d0e740f77ff HTTP/1.1" 200 -

它显示了我的其他 Windows 10 计算机的 IP 地址。

但 Windows 拒绝连接 [ Ubuntu is not accessible ... User name was not found],所以我肯定做错了什么,或者没有做需要做的事情。我试了很多方法,所以我可能把事情搞砸了。

相关内容