Solved

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

Posted on 2008-10-06
5
843 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

16 Experts available now in Live!

Get 1:1 Help Now