首页 > 怎样在centos7中挂载MACpro上的共享目录

怎样在centos7中挂载MACpro上的共享目录

环境:

我的试过的方法:

mount -t cifs -o username=myname,password=mypwd,nounix,sec=ntlmssp //mac`s ip/shareDir/ /www/test/

(已替换成自己的参数),提示:mount error(13): Permission denied

Mar 13 11:44:17 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Mar 13 11:44:17 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Mar 13 11:44:17 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
mount -t cifs -o username=myname,password=mypwd //mac`s ip/shareDir/ /www/test/

mount -t cifs -o username=myname,password=mypwd,nounix,sec=ntlmssp,netbiosname=ILIKESMACPRO,domain=WORKGROUP //mac`s ip/shareDir/ /www/test/

mount -t cifs -o username=myname,password=mypwd,netbiosname=NETBIOSNAME,domain=WORKGROUP //mac`s ip/shareDir/ /www/test/

mount -t cifs -o username=myname,password=mypwd,nounix,sec=ntlmssp,noperm,ro //mac`s ip/shareDir/ /www/test/

netbiosname和domain我在mac上也有设置,手册中也说:sets the domain (workgroup) of the user。domain应该就是工作组。几个参数之间的各种组合我也度了下


【MAC上的设置】




整了好久了不成功,求大神解决方案

【热门文章】
【热门文章】