Solved

Mount a window folder on Red Hat

Posted on 2011-02-21
6
771 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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:Monis Monther
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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 …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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