Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 852
  • Last Modified:

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

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
ixur
Asked:
ixur
  • 2
  • 2
1 Solution
 
joolsCommented:
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
 
ixurAuthor Commented:
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
 
joolsCommented:
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
 
ixurAuthor Commented:
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now