Home Linux Community Forums Linux Distributions Red Hat Understanding of CIFS on RHEL 5

Understanding of CIFS on RHEL 5

Link to this post 16 Nov 11

Lastnight I read what exactly is CIFS. With some hesitation this morning, I entered on my Linux Command line mount -t cifs //IP address of the Linux system I was on/directory /mnt/ -o user=root and entered my password when prompted. The return was Mount error 13 = Permission Denied. Refer to mount.cfis manpage. As I understand it to be CIFS file systems allow for me to share my Linux folders to Windows Clients in addition to setting up the Samba Share using the Samba GUI Manager. Do I have it backwards and CIFS is for Windows Clients to share there data with Linux Systems. If CIFS is for Linux Files to share there files with windows, how do I setup or format the folder for CIFS?

Link to this post 17 Nov 11

CIFS is used to mount windows(smb) and samba shared directories on a Linux based system. Samba is the service used to setup a smb shared directory.

CIFS guide -
Samba setup -

Link to this post 18 Nov 11

Cifs (smb) is a protocol. Samba is an implementation of that protocol. As a protocol, it can be implemented in any Operating System ;)

About your problem, maybe this will help:

Link to this post 02 Dec 11

Usually you will need a userid and password pair in the mount options in order to mount a remote CIFS/Samba share.

Link to this post 26 Jan 13

CIFS runs over TCP/IP but uses the SMB protocol . This is supported both on linux and windows.
this helps to share data vise versa.

In linux you need to install Samba that helps CIFS to run.

SMB share point can be mounted in different ways based on the way its setup on the server

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board