嗨,我正在尝试在linux上挂载smb共享
地址: 192.168.1.183 /ODROIDXU4 4-股份
路径:Myfiles-共享
我在用户"rene“和chmod 600下创建了一个文件.smbcredentials,如下所示:
username=rene
password=***********我的假刀看起来像这样
/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中访问这个共享,这样它就可以工作/处于活动状态--有可能解决这个问题的人吗?
发布于 2019-01-21 23:59:57
我用了这句话:
//192.168.1.183/Myfiles-Share /media/odroidxu4-nasshare cifs vers=3.0,credentials=/home/rene/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=rene,gid=r$,gid=rene,nofail 0 0 – https://askubuntu.com/questions/1111328
复制相似问题