Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a linux server at my home with CentOS and I would like to make it a Domain Controller for Active Directory.

Is there a way to make it?

I don't wanna use Windows Server 2008 R2 'cause it's Windows and I need some linux-only tools. Or I can make a virtual machine in linux to run WS2K8. If I understand how in VMware vSphere!

share|improve this question

migrated from Apr 15 '12 at 4:14

This question came from our site for system and network administrators.

Why do you need to use Linux only software with an AD DC? Also, since this is clearly about your home environment, this question is OT here, please see our FAQ. – Sven Apr 14 '12 at 13:16
It's for my home, but my office is at my home, there's why. But I need Linux only tools for other thing like VMs but I really need AD DC for my 7 computers, and the 8 others of my office and home, merged. – Frederick Marcoux Apr 14 '12 at 13:19
So build an AD server, and join the CentOS box as a member server. If you need AD, you need AD, not a beta-re-implementation on an unsupported OS> – jscott Apr 14 '12 at 13:24
@jscott LOL, but CentOS support member-server level ofr AD ? I didn't know but thanks! (Post it as an answer.) – Frederick Marcoux Apr 14 '12 at 13:27
I run Windows 2008 r2 inside wirtualbox on my home network. Works like a champ. – uSlackr Apr 14 '12 at 14:03
up vote 3 down vote accepted

You can achieve what you want installing samba on your server and configuring it to acting as a Domain Controller, but keep in mind that though a domain controller configuration can be achieved with a simple configuration using the new tdbsam password backend, this type of configuration is good for small offices, but has limited scalability (cannot be replicated), and performance can be expected to fall as the size and complexity of the domain increases.

Take a look at this tutorial that explains well how to proceed to setup samba as Domain Controller on CentOS.

share|improve this answer

You can run Samba as a domain controller on linux. The recipe & details are here:

share|improve this answer

I will just run Windows Server 2008 R2 for AD and a virtual machine with VMware for CentOS and another one for my test web server.

3 Servers in one!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .