Solved

Mount a window folder on Red Hat

Posted on 2011-02-21
6
767 Views
Last Modified: 2013-12-06
My window users can login to my Linux Red Hat server and able to connect to the share folder on Window server through GUI.

Is it possible to actually mount a Window share folder such that user could simply click the mapped folder on the desktop and access the shared folder directly ?

Thanks
0
Comment
Question by:AXISHK
6 Comments
 
LVL 10

Accepted Solution

by:
cyberstalker earned 125 total points
ID: 34949122
Yes. Use smbmount.
0
 
LVL 14

Assisted Solution

by:Dushyant Sharma
Dushyant Sharma earned 125 total points
ID: 34949125
0
 
LVL 12

Assisted Solution

by:upanwar
upanwar earned 125 total points
ID: 34949126
You can mount a windows folder in Linux through mount command.

Please use below given command to mount the same.

# mount -t cifs //<IP or Host name of win server>/<share> -o username=<username>,password=<password> /<mount_point>   [Press Enter]

Please use the windows user name and password of the user who have permission on that perticular share.

0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:AXISHK
ID: 34949162
smbmount doesn't work and it says smbmount: command not found, although the samba client package has been installed.

mount works but it says only root has the right to use the mount command.

I'm using Red hat Enterprise 5. Any further advise ?
0
 
LVL 18

Assisted Solution

by:TobiasHolm
TobiasHolm earned 125 total points
ID: 34949255
Hi!

Add the keyword "user" in your fstab. Example:

//192.168.1.1/Shared /mnt/shared cifs auto,user,username=xxxxx,workgroup=xxxxx,password= xxxxx,uid=500,gid=500,file_mode=0777,dir_mode=0777 ,rw 0 0

Open in new window


Regards, Tobias
0
 
LVL 14

Expert Comment

by:small_student
ID: 34949836
You need the cifs-utils package installed

You either download the rpm or easier is

yum install cifs-utils

Then the above commands will work for you
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question