嗨,我正在尝试在 linux nas 上挂载 smb 共享
地址:192.168.1.183 / ODROIDXU4-SHARE
路径:我的文件-共享
我在用户“rene”和 chmod 600 下创建了一个文件 .smbcredentials,如下所示:
username=rene
password=***********
我的 fstab 看起来像这样
/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0194-4700 /boot/efi vfat umask=0077 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
#//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs credentials=/home/rene/.smbcredentials,iocharset=utf8,vers=1.0,sec=ntlm 0 0
但我在 dmesg 中收到以下错误:
[ 2675.630962] CIFS VFS: Send error in SessSetup = -13
[ 2675.630989] CIFS VFS: cifs_mount failed w/return code = -13
[ 2899.179580] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2899.179598] CIFS VFS: Send error in SessSetup = -13
[ 2899.179627] CIFS VFS: cifs_mount failed w/return code = -13
我可以在 Windows 中访问此共享,因此它可以工作/处于活动状态 - 任何有可能解决问题的人?
我使它与这条线一起工作: