Solved

Mount a window folder on Red Hat

Posted on 2011-02-21
6
765 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux, squid server 23 51
Ubuntu Server 14.04.3 LS Cleanup Boot Partition 9 121
Linux TCP flaw lets 'anyone' hijack Internet traffic 9 76
linux redhat 7.2 10 38
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

17 Experts available now in Live!

Get 1:1 Help Now