我用于连接到本地NAS的fstab总是
//192.168.111.112/RAID /home/moi/share/OMV cifs noauto,users,username=USERNAME,passwd=PASSWORD
将我的系统从Lubuntu 16.04升级到18.04后,此操作不再起作用,并显示错误消息:
Failed to query password: Permission denied
Password for USER@//192.168.111.112/RAID: mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
domain=
选项即可挂载我们的股票(甚至像以前一样使用凭证文件...)。