• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 561
  • Last Modified:

Access the Red Hat server on Window Domain network

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
AXISHK
Asked:
AXISHK
  • 2
  • 2
  • 2
  • +1
3 Solutions
 
eappiahCommented:
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
 
AXISHKAuthor Commented:
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
 
Monis MontherSystem ArchitectCommented:
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
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!

 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
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
 
Monis MontherSystem ArchitectCommented:
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
 
AXISHKAuthor Commented:
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
 
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
@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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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