Solved

Adding Linux server to Window Domain

Posted on 2013-12-05
1
519 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

762 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

11 Experts available now in Live!

Get 1:1 Help Now