Solved

Mount a window folder on Red Hat

Posted on 2011-02-21
6
764 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
Comment Utility
Yes. Use smbmount.
0
 
LVL 14

Assisted Solution

by:ddsh79
ddsh79 earned 125 total points
Comment Utility
0
 
LVL 12

Assisted Solution

by:upanwar
upanwar earned 125 total points
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:AXISHK
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now