?
Solved

Access the Red Hat server on Window Domain network

Posted on 2011-02-22
7
Medium Priority
?
558 Views
Last Modified: 2013-12-06
My Red hat server could access my Window Domain netowrk and the shared folder. However, is it possible to archieve a shared folder from Window machine to the Red Hat server. I could ping the red hat server using the host name (redhat.abc.com) from any Window machine. But I couldn't connect to the server from Run command (\\redhat.abc.net). However to enable the reverse way of access, from Window to Linux ??



Thanks
0
Comment
Question by:AXISHK
[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
  • 2
  • +1
7 Comments
 
LVL 3

Accepted Solution

by:
eappiah earned 800 total points
ID: 34950041
You will need to configure samba server on the Red Hat server.

This article may push you in the right direction

http://www.techotopia.com/index.php/Sharing_Files_between_RHEL_6_and_Windows_Systems_with_Samba#Installing_Samba_on_an_RHEL_6_System
0
 

Author Comment

by:AXISHK
ID: 34950078
Thanks,

Instead of create another samba account in Red Hat, can we simplfiy use the Window domain credential to access the share folder on Red Hat ?

Thanks
0
 
LVL 14

Assisted Solution

by:Monis Monther
Monis Monther earned 400 total points
ID: 34950103
If you have configured RedHat as a member in AD by joining it with Kerberos/Winbind then you can access the shares using the windows users.

The idea is that these users are seen as local users to the Linux machine and you can apply any Linux feature and have those users access it. After all they are in the same domain.

The matter is as easy as configuring shares using Samba.

0
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 
LVL 17

Assisted Solution

by:Sikhumbuzo Ntsada
Sikhumbuzo Ntsada earned 800 total points
ID: 34950107
As root do the following:

vi /etc/samba/smb.conf

Change the following fields:

workgroup = myworkgroup
server string = my_windows_server


Then add the following line at the end:

[Windows Shared Drive]
comment = Stores my Stuff
path = /home/Santasi24/Storage            ***** Path must exist  
valid users = santasi24              ***** user must exist
public = no
writable = yes
create mask = 0765                  

Save the file

Then smbpasswd -a santasi24            **** substitute with yours
Enter Password for santasi24: mypassword

Now

/sbin/service smb stop

and

/sbin/service smb restart
0
 
LVL 14

Expert Comment

by:Monis Monther
ID: 34950117
DO NOT change workgroup in smb.conf this would screw up your WinBind Configuration.

The expert above might not know that you have joned your machine to AD
0
 

Author Comment

by:AXISHK
ID: 34958527
Add the following under smb.conf
  path =/home/ABCompany/public
  writeable = yes
  browseable = yes
  valid users = demo

User could see the folder public but when it connect, it ask for password. Use the domain password or the new smb user, I still couldn't log through.

Any advise ?

Tks
0
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 34958650
@Small Student, thanks for the note, I just provided a quick way of sharing files inside his RedHat server.

My assumption was he just wanted to have the share, in any case if he joined it to the domain it should work else, the setup was not correct then he will need  to look at the configuration of joining it to the domain first. If all is well then he should be able to connect using AD credentials.


0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 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