Solved

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

Posted on 2008-10-06
5
847 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
[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
  • 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

734 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