gvfs can not mount SMB share
Samba Server: Windows 7
❯ gio mount smb://192.168.0.12/库
Authentication Required
Enter user and password for share “库” on “192.168.0.12”:
User [everyx]: guest
Domain [WORKGROUP]:
Password:
gio: smb://192.168.0.12/%E5%BA%93/: Failed to mount Windows share: Invalid argument
❯ gio --version
2.80.0
❯ samba --version
Version 4.20.0
❯ smbclient --version
Version 4.20.0
But mount with cifs are works fine.
mount -t cifs //192.168.0.12/库 /mnt/库 -o username=guest
smbclient also works fine.
❯ smbclient -N '//192.168.0.12/库/'
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Tue Mar 12 14:36:43 2024
.. D 0 Tue Mar 12 14:36:43 2024
.DS_Store AH 6148 Thu Mar 28 17:50:13 2024
******
Thumbs.db AHSn 18432 Sat Sep 16 13:09:39 2023
244185525 blocks of size 4096. 14323231 blocks available
smb: \>
Edited by Gavin Luo