Why are samba client and NFS client used differently?reinit NFS client without restartUnstable mount with...

What does からか mean?

How to change a .eps figure to standalone class?

What species should be used for storage of human minds?

Need help with a circuit diagram where the motor does not seem to have any connection to ground. Error with diagram? Or am i missing something?

Is `Object` a function in javascript?

How bad is a Computer Science course that doesn't teach Design Patterns?

How vim overwrites readonly mode?

Why do neural networks need so many examples to perform?

Is there a non trivial covering of the Klein bottle by the Klein bottle

How to politely refuse in-office gym instructor for steroids and protein

How to fly a direct entry holding pattern when approaching from an awkward angle?

Does it take energy to move something in a circle?

Is there any danger of my neighbor having my wife's signature?

Why is it that Bernie Sanders is always called a "socialist"?

Modern Algebraic Geometry and Analytic Number Theory

Was there a pre-determined arrangement for the division of Germany in case it surrendered before any Soviet forces entered its territory?

Equivalent of "illegal" for violating civil law

Allow console draw poker game to output more hands

How to write cases in LaTeX?

Critique vs nitpicking

How to extract specific values/fields from the text file?

Other than edits for international editions, did Harry Potter and the Philosopher's Stone receive errata?

Plausible reason for gold-digging ant

Potential client have a problematic employee I can't work with



Why are samba client and NFS client used differently?


reinit NFS client without restartUnstable mount with CIFS and NFSNFS share inside a NFS or Samba share cannot be accessednfs nested mounts fail on client side“Read-only filesystem” on NFS share, permissions, mounts and exports file seem okMount nfs hangs clientNFS client gets permission denied errorProblem with NFS mount when FS is shared for all clients however works when a specific client network is specifiedWhy would NFS have lag after a minute of inactivity?Is samba client installed by default on Lubuntu?













1















Can you compare why samba client and NFS client are used differently?



For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side?



In pcmanfm, why can I just type smb://192.168.1.198 on the address bar of file manager, and connect to samba server, while I can't do similarly to access a NFS shared directory, or how can I?



Thanks.










share|improve this question





























    1















    Can you compare why samba client and NFS client are used differently?



    For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side?



    In pcmanfm, why can I just type smb://192.168.1.198 on the address bar of file manager, and connect to samba server, while I can't do similarly to access a NFS shared directory, or how can I?



    Thanks.










    share|improve this question



























      1












      1








      1


      1






      Can you compare why samba client and NFS client are used differently?



      For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side?



      In pcmanfm, why can I just type smb://192.168.1.198 on the address bar of file manager, and connect to samba server, while I can't do similarly to access a NFS shared directory, or how can I?



      Thanks.










      share|improve this question
















      Can you compare why samba client and NFS client are used differently?



      For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side?



      In pcmanfm, why can I just type smb://192.168.1.198 on the address bar of file manager, and connect to samba server, while I can't do similarly to access a NFS shared directory, or how can I?



      Thanks.







      samba nfs lubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago







      Tim

















      asked 2 hours ago









      TimTim

      27.2k78263473




      27.2k78263473






















          2 Answers
          2






          active

          oldest

          votes


















          3














          pcmanfm uses gvfs, a GNOME Virtual FileSystem. It has SMB support in the gvfs-backends package, which depends on libsmbclient and suggests samba-common.



          GVFS requires D-Bus and/or GIO module support for programs to use it, or a gvfs-fuse package that uses FUSE to allow mounting GVFS-accessible filesystems to be accessible by generic programs.



          Also, a NFS server and client will trust each other on a much deeper level than a SMB server and client, if the classic NFS sec=sys security model is used, and so mounting a NFS filesystem must require administrative access. (Think of what you could do as a regular user if you could freely mount a filesystem containing setuid binaries of your choice from a server specified by you. The answer is "anything".) That is why implementing a user-accessible nfs:// protocol would not be trivial.






          share|improve this answer
























          • Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

            – Tim
            1 hour ago





















          1














          Tim, you ask more than one question. But let me answer one (which I found interesting)



          You do not need to mount the NFS share. You can access it on this way:



          cd /net/<NFS server IP or hostname/path/to/shared/dir


          and then copy, view, etc. the files and directories inside. You do not need to specity the protocol as this (/net ) is a special directory like /proc for example. TO use /net you need to install autofs package.



          You can mount SMB share on this way:



          mount -t cifs -o user=<username> //<IP or hostname of SMB server>/<share name> /mount/point


          For more details you can check Samba documentation






          share|improve this answer


























          • Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

            – Tim
            2 hours ago













          • @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

            – Romeo Ninov
            1 hour ago











          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/3.0/"u003ecc by-sa 3.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%2f502846%2fwhy-are-samba-client-and-nfs-client-used-differently%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          pcmanfm uses gvfs, a GNOME Virtual FileSystem. It has SMB support in the gvfs-backends package, which depends on libsmbclient and suggests samba-common.



          GVFS requires D-Bus and/or GIO module support for programs to use it, or a gvfs-fuse package that uses FUSE to allow mounting GVFS-accessible filesystems to be accessible by generic programs.



          Also, a NFS server and client will trust each other on a much deeper level than a SMB server and client, if the classic NFS sec=sys security model is used, and so mounting a NFS filesystem must require administrative access. (Think of what you could do as a regular user if you could freely mount a filesystem containing setuid binaries of your choice from a server specified by you. The answer is "anything".) That is why implementing a user-accessible nfs:// protocol would not be trivial.






          share|improve this answer
























          • Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

            – Tim
            1 hour ago


















          3














          pcmanfm uses gvfs, a GNOME Virtual FileSystem. It has SMB support in the gvfs-backends package, which depends on libsmbclient and suggests samba-common.



          GVFS requires D-Bus and/or GIO module support for programs to use it, or a gvfs-fuse package that uses FUSE to allow mounting GVFS-accessible filesystems to be accessible by generic programs.



          Also, a NFS server and client will trust each other on a much deeper level than a SMB server and client, if the classic NFS sec=sys security model is used, and so mounting a NFS filesystem must require administrative access. (Think of what you could do as a regular user if you could freely mount a filesystem containing setuid binaries of your choice from a server specified by you. The answer is "anything".) That is why implementing a user-accessible nfs:// protocol would not be trivial.






          share|improve this answer
























          • Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

            – Tim
            1 hour ago
















          3












          3








          3







          pcmanfm uses gvfs, a GNOME Virtual FileSystem. It has SMB support in the gvfs-backends package, which depends on libsmbclient and suggests samba-common.



          GVFS requires D-Bus and/or GIO module support for programs to use it, or a gvfs-fuse package that uses FUSE to allow mounting GVFS-accessible filesystems to be accessible by generic programs.



          Also, a NFS server and client will trust each other on a much deeper level than a SMB server and client, if the classic NFS sec=sys security model is used, and so mounting a NFS filesystem must require administrative access. (Think of what you could do as a regular user if you could freely mount a filesystem containing setuid binaries of your choice from a server specified by you. The answer is "anything".) That is why implementing a user-accessible nfs:// protocol would not be trivial.






          share|improve this answer













          pcmanfm uses gvfs, a GNOME Virtual FileSystem. It has SMB support in the gvfs-backends package, which depends on libsmbclient and suggests samba-common.



          GVFS requires D-Bus and/or GIO module support for programs to use it, or a gvfs-fuse package that uses FUSE to allow mounting GVFS-accessible filesystems to be accessible by generic programs.



          Also, a NFS server and client will trust each other on a much deeper level than a SMB server and client, if the classic NFS sec=sys security model is used, and so mounting a NFS filesystem must require administrative access. (Think of what you could do as a regular user if you could freely mount a filesystem containing setuid binaries of your choice from a server specified by you. The answer is "anything".) That is why implementing a user-accessible nfs:// protocol would not be trivial.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          telcoMtelcoM

          18.3k12347




          18.3k12347













          • Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

            – Tim
            1 hour ago





















          • Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

            – Tim
            1 hour ago



















          Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

          – Tim
          1 hour ago







          Thanks. (1) How can I access a NFS shared irectory in pcmanfm, maybe similarly to a Samba shared directory? (2) " a NFS server and client will trust each other on a much deeper level than a SMB server and client". But I configured NFS server by /share 192.168.1.0/24(rw,sync,no_subtree_check) by following linuxconfig.org/…, It turns out that there is no explicit authentication from a client side (another computer in the same local network). How can I configure the NFS server so that it can securely share a directory?

          – Tim
          1 hour ago















          1














          Tim, you ask more than one question. But let me answer one (which I found interesting)



          You do not need to mount the NFS share. You can access it on this way:



          cd /net/<NFS server IP or hostname/path/to/shared/dir


          and then copy, view, etc. the files and directories inside. You do not need to specity the protocol as this (/net ) is a special directory like /proc for example. TO use /net you need to install autofs package.



          You can mount SMB share on this way:



          mount -t cifs -o user=<username> //<IP or hostname of SMB server>/<share name> /mount/point


          For more details you can check Samba documentation






          share|improve this answer


























          • Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

            – Tim
            2 hours ago













          • @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

            – Romeo Ninov
            1 hour ago
















          1














          Tim, you ask more than one question. But let me answer one (which I found interesting)



          You do not need to mount the NFS share. You can access it on this way:



          cd /net/<NFS server IP or hostname/path/to/shared/dir


          and then copy, view, etc. the files and directories inside. You do not need to specity the protocol as this (/net ) is a special directory like /proc for example. TO use /net you need to install autofs package.



          You can mount SMB share on this way:



          mount -t cifs -o user=<username> //<IP or hostname of SMB server>/<share name> /mount/point


          For more details you can check Samba documentation






          share|improve this answer


























          • Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

            – Tim
            2 hours ago













          • @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

            – Romeo Ninov
            1 hour ago














          1












          1








          1







          Tim, you ask more than one question. But let me answer one (which I found interesting)



          You do not need to mount the NFS share. You can access it on this way:



          cd /net/<NFS server IP or hostname/path/to/shared/dir


          and then copy, view, etc. the files and directories inside. You do not need to specity the protocol as this (/net ) is a special directory like /proc for example. TO use /net you need to install autofs package.



          You can mount SMB share on this way:



          mount -t cifs -o user=<username> //<IP or hostname of SMB server>/<share name> /mount/point


          For more details you can check Samba documentation






          share|improve this answer















          Tim, you ask more than one question. But let me answer one (which I found interesting)



          You do not need to mount the NFS share. You can access it on this way:



          cd /net/<NFS server IP or hostname/path/to/shared/dir


          and then copy, view, etc. the files and directories inside. You do not need to specity the protocol as this (/net ) is a special directory like /proc for example. TO use /net you need to install autofs package.



          You can mount SMB share on this way:



          mount -t cifs -o user=<username> //<IP or hostname of SMB server>/<share name> /mount/point


          For more details you can check Samba documentation







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 48 mins ago

























          answered 2 hours ago









          Romeo NinovRomeo Ninov

          6,46632028




          6,46632028













          • Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

            – Tim
            2 hours ago













          • @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

            – Romeo Ninov
            1 hour ago



















          • Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

            – Tim
            2 hours ago













          • @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

            – Romeo Ninov
            1 hour ago

















          Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

          – Tim
          2 hours ago







          Thanks. (1) Why is there no protocol name like nfs:// in the URL in your cd command, while I have to type smb:// in the address bar of a file manager? (2) can you mount a samba shared directory? If yes, how?

          – Tim
          2 hours ago















          @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

          – Romeo Ninov
          1 hour ago





          @Tim, you can mount SMB share on the same way you mount filesystem, see my edited answer

          – Romeo Ninov
          1 hour ago


















          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%2f502846%2fwhy-are-samba-client-and-nfs-client-used-differently%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

          Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

          Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

          How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...