Samba server mount error - No such file or directorySamba mount with password prompt as non-root userCannot...

Is there any way to land a rover on the Moon without using any thrusters?

Can a corpse possessed by a Dybbuk be turned via Turn Undead?

"Literally" Vs "In the true sense of the word"

Evidence that matrix multiplication cannot be done in O(n^2 poly(log(n))) time

What jurisdiction do Scottish courts have over the Westminster parliament?

Why isn't `typename` required for a base class that is a nested type?

Relocation error, error code (127) after last updates

Glue or not to glue boots

Is there a real-world mythological counterpart to WoW's "kill your gods for power" theme?

Why does Coq include let-expressions in its core language

Maintenance tips to prolong engine lifespan for short trips

How to stabilise the bicycle seatpost and saddle when it is all the way up?

Double it your way

Is English tonal for some words, like "permit"?

Where can I get an anonymous Rav Kav card issued?

What's the biggest organic molecule that could have a smell?

Could a Scotland-NI bridge break Brexit impasse?

I was promised a work PC but still awaiting approval 3 months later so using my own laptop - Is it fair to ask employer for laptop insurance?

Do ibuprofen or paracetamol cause hearing loss?

Should I leave the first authorship of our paper to the student who did the project whereas I solved it?

Resume: How to quantify my contributions as a software engineer?

Are scroll bars dead in 2019?

How seriously should I take a CBP interview where I was told I have a red flag and could only stay for 30 days?

Do all humans have an identical nucleotide sequence for certain proteins, e.g haemoglobin?



Samba server mount error - No such file or directory


Samba mount with password prompt as non-root userCannot mount samba share: Mount error (22)How can I mount from CentOS7 a drive shared from a home router using Samba?AutoFS fails to mount Samba CIFS sharemounting CIFS - works on Ubuntu 14, not on Debian TestingMerlin Asuswrt Cifs Smb Share cannot mount






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have Samba server running on my VM and try to connect on it from my workstation, but i still get errors.



Samba smb.conf :



[sam]
comment = samba
path = /smb
write list = samba root


Server:



samba version : 4.8.3
OS version : CentOs 7


Client:



samba version : 4.9.1
OS version : Red Hat Enterprise 7.7


Mount command :




mount -t cifs //192.168.122.78/smb /samba -o username=samba,password=password,vers=2.1




Direct error after command exec :




mount error(2): No such file or directory




Error in /var/log/messages on client :



Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: BAD_NETWORK_NAME: \192.168.122.78smb
Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: cifs_mount failed w/return code = -2


When i try to execute mount command with older version of samba, 1.0 the direct error is little bit different.




mount error(6): No such device or address




I was trying to find solution, but it looks like some common problem with versions of samba? Could it be because of different versions on Server/Client? And also i am little bit confused what is different between SMB protocol version i set in my mount command (vers=2.1/1.0) and the official version what command smbstatus is giving me (4.9.1).



Have anybody some ideas how can i solve this problem please?










share|improve this question































    0















    I have Samba server running on my VM and try to connect on it from my workstation, but i still get errors.



    Samba smb.conf :



    [sam]
    comment = samba
    path = /smb
    write list = samba root


    Server:



    samba version : 4.8.3
    OS version : CentOs 7


    Client:



    samba version : 4.9.1
    OS version : Red Hat Enterprise 7.7


    Mount command :




    mount -t cifs //192.168.122.78/smb /samba -o username=samba,password=password,vers=2.1




    Direct error after command exec :




    mount error(2): No such file or directory




    Error in /var/log/messages on client :



    Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: BAD_NETWORK_NAME: \192.168.122.78smb
    Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: cifs_mount failed w/return code = -2


    When i try to execute mount command with older version of samba, 1.0 the direct error is little bit different.




    mount error(6): No such device or address




    I was trying to find solution, but it looks like some common problem with versions of samba? Could it be because of different versions on Server/Client? And also i am little bit confused what is different between SMB protocol version i set in my mount command (vers=2.1/1.0) and the official version what command smbstatus is giving me (4.9.1).



    Have anybody some ideas how can i solve this problem please?










    share|improve this question



























      0












      0








      0








      I have Samba server running on my VM and try to connect on it from my workstation, but i still get errors.



      Samba smb.conf :



      [sam]
      comment = samba
      path = /smb
      write list = samba root


      Server:



      samba version : 4.8.3
      OS version : CentOs 7


      Client:



      samba version : 4.9.1
      OS version : Red Hat Enterprise 7.7


      Mount command :




      mount -t cifs //192.168.122.78/smb /samba -o username=samba,password=password,vers=2.1




      Direct error after command exec :




      mount error(2): No such file or directory




      Error in /var/log/messages on client :



      Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: BAD_NETWORK_NAME: \192.168.122.78smb
      Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: cifs_mount failed w/return code = -2


      When i try to execute mount command with older version of samba, 1.0 the direct error is little bit different.




      mount error(6): No such device or address




      I was trying to find solution, but it looks like some common problem with versions of samba? Could it be because of different versions on Server/Client? And also i am little bit confused what is different between SMB protocol version i set in my mount command (vers=2.1/1.0) and the official version what command smbstatus is giving me (4.9.1).



      Have anybody some ideas how can i solve this problem please?










      share|improve this question














      I have Samba server running on my VM and try to connect on it from my workstation, but i still get errors.



      Samba smb.conf :



      [sam]
      comment = samba
      path = /smb
      write list = samba root


      Server:



      samba version : 4.8.3
      OS version : CentOs 7


      Client:



      samba version : 4.9.1
      OS version : Red Hat Enterprise 7.7


      Mount command :




      mount -t cifs //192.168.122.78/smb /samba -o username=samba,password=password,vers=2.1




      Direct error after command exec :




      mount error(2): No such file or directory




      Error in /var/log/messages on client :



      Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: BAD_NETWORK_NAME: \192.168.122.78smb
      Sep 12 08:12:22 oc8211134760 kernel: CIFS VFS: cifs_mount failed w/return code = -2


      When i try to execute mount command with older version of samba, 1.0 the direct error is little bit different.




      mount error(6): No such device or address




      I was trying to find solution, but it looks like some common problem with versions of samba? Could it be because of different versions on Server/Client? And also i am little bit confused what is different between SMB protocol version i set in my mount command (vers=2.1/1.0) and the official version what command smbstatus is giving me (4.9.1).



      Have anybody some ideas how can i solve this problem please?







      linux centos rhel mount samba






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 22 mins ago









      dvory59dvory59

      132 bronze badges




      132 bronze badges

























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });















          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541308%2fsamba-server-mount-error-no-such-file-or-directory%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

















          draft saved

          draft discarded



















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541308%2fsamba-server-mount-error-no-such-file-or-directory%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...