Environment:
Virtual machines: VMware Fusion8
Virtual machine system: CENTOS7 Minimum Installation
Local machine: MacPro system: OS 10.11
My tried-and-tested approach:
Follow the instructions in this post to set up https://segmentfault.com/a/1190000002548622. (The settings diagram on Mac I put on the back)
The virtual machine uses a bridging mode
To execute a command in a post:
mount -t cifs -o username=myname,password=mypwd,nounix,sec=ntlmssp //mac`s ip/shareDir/ /www/test/
(has been replaced with its own parameters), Tip: Mount Error: Permission denied
Mar 13 11:44:17 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILUREMar 13 11:44:17 localhost kernel: CIFS VFS: Send error in SessSetup = -13Mar 13 11:44:17 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
The hint should be login failure, but I'm sure my username and password are correct, because I can see my Mac Click the Connect prompt to enter the username and password when I am in a share on a Windows PC, and I can access the shared directory on my Mac when I enter it.
Using the Mount command in CentOS, you can successfully mount a shared item in Windows
The methods in this post have also been tried: http://zhidao.baidu.com/link?url=3E5wuAZlbJq_ 8lz5adio6uhs5te8lz6jn4ds78cmts9ma77cl06zsnjeyc4bzfvmmds20h_uxnxsnoxedq0v3hlkvwse29qjh3bx3zwf1p3
Through man mount.cifs, I also tried the following commands:
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 and domain I also have settings on my Mac, which also says: Sets the domain (workgroup) of the user. Domain should be a workgroup. A variety of combinations between several parameters I also have a degree.
"Settings on Mac"
It's been a long time. unsuccessful, ask God for solutions
Reply content:
Environment:
Virtual machines: VMware Fusion8
Virtual machine system: CENTOS7 Minimum Installation
Local machine: MacPro system: OS 10.11
My tried-and-tested approach:
Follow the instructions in this post to set up https://segmentfault.com/a/1190000002548622. (The settings diagram on Mac I put on the back)
The virtual machine uses a bridging mode
To execute a command in a post:
mount -t cifs -o username=myname,password=mypwd,nounix,sec=ntlmssp //mac`s ip/shareDir/ /www/test/
(has been replaced with its own parameters), Tip: Mount Error: Permission denied
Mar 13 11:44:17 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILUREMar 13 11:44:17 localhost kernel: CIFS VFS: Send error in SessSetup = -13Mar 13 11:44:17 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
The hint should be login failure, but I'm sure my username and password are correct, because I can see my Mac Click the Connect prompt to enter the username and password when I am in a share on a Windows PC, and I can access the shared directory on my Mac when I enter it.
Using the Mount command in CentOS, you can successfully mount a shared item in Windows
The methods in this post have also been tried: http://zhidao.baidu.com/link?url=3E5wuAZlbJq_ 8lz5adio6uhs5te8lz6jn4ds78cmts9ma77cl06zsnjeyc4bzfvmmds20h_uxnxsnoxedq0v3hlkvwse29qjh3bx3zwf1p3
Through man mount.cifs, I also tried the following commands:
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 and domain I also have settings on my Mac, which also says: Sets the domain (workgroup) of the user. Domain should be a workgroup. A variety of combinations between several parameters I also have a degree.
"Settings on Mac"
It's been a long time. unsuccessful, ask God for solutions