Note the contents of the red flag
Today, on a VM virtual machine, a shared directory is required to mount a host (a Windows host in the ad domain) . But it's not always mounted. As shown below
[Email protected] ~]# mount-t cifs-o username=xxx,password=123456//192.168.5.99/software/mnt/
Mount Error: Permission denied
Refer to the Mount.cifs (8) manual page (e.g. Mans mount.cifs)
Do you have a problem with your permission to report this error? Or what?
First of all, the file system shared by Linux is NFS, and the file system that is shared under Windows is the Cifs,mount command that supports both systems, but NFS is the default, and if you want to mount a directory under Windows you must specify that the mounted file system is CIFS
So using the-t option is not wrong.
Second, Selinux,iptables, the host's firewall, and so on I have to shut it down. The result is still.
Re-set the host's shared directory to confirm that there are no problems. The results still remain.
Think wrong ah, used to be on the machine of the mainframe, all can be, why this time not? Then think about whether it was username wrong? But the machine name is it, right? do you want to add the domain name ? Take a try attitude, command the following
[Email protected] ~]# mount-t cifs-o username= "dyyt/xxx", password=123456//192.168.5.99/software/mnt/
OK, this time. Mounted successfully. ....................................
It's been a long time ... and it's been a lot. Dizzy. is username error, be sure to add the full name of the computer user, that is, the computer in the login interface waiting for the user to enter the password, the above display of the user name .
This article is from "Linux rookie" blog, please be sure to keep this source http://ludihua.blog.51cto.com/4601284/1629894
The shared directory under the Linux mount AD domain