Solved

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

Posted on 2008-10-06
5
846 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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