Thursday, December 10, 2015

Setup your free Active Directory in linux :)

Hey Guys!

So we had to decommission our Active Directory server as it was running on pretty old hardware and win 2003. With the cost factor involved we decided to give linux based domain controller a try. All my initial thoughts was to use ldap as thats what we normally refer to as AD alternative for linux, unfortunately things were not as easy as it seemed to be. we could only add linux machines or users to the ldap and the guy who manages the system ( who provisions machines and user accounts ) found it difficult to use ldap frontend.

So there started the search for something simpler and easy to manage and voila here comes SAMBA 4. Samba 4 ?? are you crazy its used for sharing files to windows machines how can you even compare it with Active Directory! its true :) I am just quoting the details from samba wiki here as its very much informative.

Things to look out for

1. DNS - super important as everything depends on how dns setup is configured. So extra care needs to be done while this is setup. Almost 90% of issues arises due to incorrect DNS setups
2. Use of static IPs instead of dhcp.

Explanations for the links shared below.

1. This one pretty much helps you setup the primary DC
2. The second link helps you to setup a failover/setup

Ref:

1. Setup a Samba Active Directory Domain Controller
2. Join an additional Samba DC to an existing Active Directory
3. Check and fix DNS entries on DC joins

Hope this helps ;)

Check out the blog for more details on how to manage the Samba DC from a windows machine like you do with Active Directory.

No comments:

Post a Comment