Solved

Access the Red Hat server on Window Domain network

Posted on 2011-02-22
7
538 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
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Accepted Solution

by:
eappiah earned 200 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:small_student
small_student earned 100 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 17

Assisted Solution

by:Sikhumbuzo Ntsada
Sikhumbuzo Ntsada earned 200 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:small_student
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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. …
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

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

14 Experts available now in Live!

Get 1:1 Help Now