Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am a newbie. I would like to clarify my understanding on rpcclient,smbclient,smbmount, mount, cifs, smbfs:
rpcclient is used to control windows boxes
CIFS is same as SMB and its used by windows to share files to linux servers
SMBFS is used by linux to share files to windows servers
smbclient is used for connecting to remote shares & transfering files
smbmount is same as mount. Do these 2 commands come with samba
rpcclient, smbclient, smbmount comes with samba package.
Please correct if the above points are wrong.
Thanks in advance
Hi,
CIFS is same as SMB and its used by windows to share files to linux servers
No
Quote:
Originally Posted by jmomlhm
Hi,
SMBFS is used by linux to share files to windows servers
No
CIFS (new) and SMBFS (old) are filesystems used by samba to connect to Windows shares or serve Linux shares to Windows clients .
Quote:
Originally Posted by jmomlhm
Hi,
smbmount is same as mount. Do these 2 commands come with samba
No
mount is a essential linux command which has nothing to do with Samba in the first place.
smbmount comes with samba and is a convenience command which calls mount -t smbfs [...] or mount -t cifs [...] .
Anyway smbmount seems not to be present anymore in recent versions of Samba
samba is the re-implementation of the Microsoft SMB/CIFS protocols (quoted from wikipedia) so that linux can share files and printers with windows. All the utilities mentioned except for mount are part of the samba suite.
samba is a client/server application. smbd/nmbd are the server daemons so that windows PCs can connect to linux files and printers. smbfs/cifs filesystem types, smbclient, smbmount are client utilities so that a linux PC can connect to windows shares and printers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.