Solved

How to get Red Hat Enterprise 5 Server to access Windows File Shares

Posted on 2008-10-06
5
845 Views
Last Modified: 2013-12-06
HOw do I get Red Hat 5 to be able to access windows file server.  I get an error when accessing the Windows file server that contents cannot be displayed.
0
Comment
Question by:ixur
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:jools
ID: 22657564
It would help greatly if you gave a bit more detail... like what have you tried, commands run, errors given.

It could be as simple as a permissions issue thru to configuration, ending (possibly) in finding out that the systems are not even networked.

The more detail you give, the quicker it can be fixed.
0
 

Author Comment

by:ixur
ID: 22658336
Sure, I am new to the Linux side, so I am trying to figure out what exactly needs to be setup on the Red Hat box so it is allowed access to the Windows File Server and other windows 2003 domain resources.
0
 
LVL 19

Accepted Solution

by:
jools earned 250 total points
ID: 22658458
OK,

A couple of things to get us started.

Are you trying to connect the linux system to windows?
Yes?
   You will need the samba client software installed you should be able to mount from the linux system using something like;
   mount -t cifs -o username=username //windowsserveriporname/sharename /mountpoint

For more information;
   man mount

Are you trying to connect the windows system to linux?
Yes?
   You will need to download and install samba server if it's not already.
      yum install samba

   Configure the shares by editing the /etc/samba/smb.conf file (it's very well commented)
   Create users to connect to the samba server;
      useradd sambauser1
      smbpasswd -a sambauser1

   Make sure the configureation file is OK using `testparm`.

   Start the samba server;
      service samba restart

Check the man pages for the above commands to learn about the options.

0
 

Author Comment

by:ixur
ID: 22676941
Basically, I am installing and setting up an SSL VPN on the linux box. This would give remote users who login to it access to Windows resources such as terminal server, Windows file share, internal IIS websites, etc.  Let me know what you think.  

So are you saying Samba will do this for me?
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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