Solved

Adding Linux server to Window Domain

Posted on 2013-12-05
1
520 Views
Last Modified: 2013-12-06
Hi Experts,

I am trying to integrate Window OS and Linux OS together. I came across this situation where I wish to integrate my linux(debian) server into Window Domain. I wish to know how can this be accomplished?

I believed that I needed samba share for sure. I know in smb.conf there is a workgroup section. Do I simply config workgroup to window domain or I need to configure other files as well? Do I need to somehow configure domain controller from window into linux? Anything else that I need?

If I wish to use the AD (active directory) from window with linux Do I need to install the kbr5(kebros) so linux will recognize the user from AD? What else do I need to make it work?
If I need kbr, how can I configure it to make it work with windows?

I've read about winbind. Do I need winbind also? If so, how should I configure it. Thanks
0
Comment
Question by:kisegi
1 Comment
 
LVL 13

Accepted Solution

by:
Daniel Helgenberger earned 500 total points
ID: 39700433
Hello,

there are plenty of tutorials to do so. I will point out some in the end.

Here only some considerations for starters:
1. The mode you need for your server would be ADS. Here a sample [global] section with Kerberos (realm=) :
[global]
	security = ADS
        workgroup = YOURDOMAIN
        realm = YOURDOMAIN.COM

Open in new window


2. You need to consider one crucial point: Do any other computes access the linux storage in another way (nfs / direct access)? Do you have other Linux servers? The point here is the GID/UID mapping. If the the storage is isolated to your linux file server, then you can ignore it leave it to the default. Otherwise you might want to use the AD gid number / uid number attributes for your setup.

3. Kerberos is optional. Samba works without it - though I always set this up for convenience. You can for instance add a group policy to map a user's share with the password method. Windows also tries the logon credentials automatically first.

4. There are packages around with do these jobs quiete well without much configuration. Have a look at Likewise / Powerbroker Identity Services (free) for instance. I use this:
http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True

5. You will need winbind to do the actual domain joining. Remember, winbind is part of the samba package.

6. As for your link, here is one I googled:
https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectory
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Fine Tune your automatic Updates for Ubuntu / Debian
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

864 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

24 Experts available now in Live!

Get 1:1 Help Now