Article 5A9EB Need help on Samba mount error 2 No such directory or file

Need help on Samba mount error 2 No such directory or file

by
tap2019
from LinuxQuestions.org on (#5A9EB)
I am trying to mount a Samba share and have encountered the following error.

The command used to mount the share is:
> sudo mount -t cifs //<Samba IP>/smb /mnt/smb -o user=<UserName>,password=<Password>,vers=3.0

The message returned is mount error(2): no such file or directory.

The strange thing is I am able to use the GUI to access the Samba folder via smb://. Ping and telnet work too. The /mnt/smb directory exists as well.

The OS is RHEL 7.8 (Maipo) and the kernel version is 3.10.0-1127. For the OS, both the firewall and SELinux have been disabled.

Both cifs and keyutils have been installed as well.

I have done plenty of google searches but to no avail. Are there other OS configs or command options to look at?latest?d=yIl2AUoC8zA latest?i=m_-4Ge9i6X8:yhMrRXA9QbI:F7zBnMy latest?i=m_-4Ge9i6X8:yhMrRXA9QbI:V_sGLiP latest?d=qj6IDK7rITs latest?i=m_-4Ge9i6X8:yhMrRXA9QbI:gIN9vFwm_-4Ge9i6X8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments