How to join Linux machine to Windows Domain

cgeorgeisaac used Ask the Experts™
How can I join a Linux machine to a Windows Domain.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Here is an example on Ubuntu (the most friendly user Linux distro):
Dr. KlahnPrincipal Software Engineer
Samba is probably the most widely used solution.
Here is an example for how to configure CentOS 6 to authenticate against Active Directory:
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Distinguished Expert 2017
Which Linux distribution and which windows server version are in use as DC.

Net join ads

Many have an auth configuratio tools such as the links others have provided.
Pallavi GodseSr. Digital Marketing Executive
You can opt one of these -

Kerberos plus LDAP -  If you are looking for a lower-level option it is the best as you can set up Linux to use Active Directory's underlying protocols yourself.
Samba - Samba is the de facto standard for joining a Linux machine to a Windows domain.
Likewise - Basically Samba-in-a-box, Likewise is easier to set up than a full-fledged Samba installation (the GUI should do it for you in under an hour, including time to read its docs), but correspondingly less control. Likewise Open is free of charge; Likewise Enterprise adds features like managing Linux machines via Group Policy.
Microsoft Windows Services for Unix - It includes options for serving usernames to Linux / UNIX via NIS and for synchronizing passwords to Linux / UNIX machines. You'd use this if you wanted to do everything possible from Windows or if you had an existing Linux / UNIX infrastructure you wanted to tie to Windows; for most environments, though, one of the other solutions would be better.
cgeorgeisaacSenior Engineer


Many thanks experts for all the suggestions.   Windows Domain - MS Windows 2016 (64)  and Suse Linux Ent 11 (64). Wondering which option is best for this situation.

The best one is of course up to you to decide.
Distinguished Expert 2017
slightly along the way of Dimitri's best option is one that works.

You can allow LDAP queries against the 2016 and configure suse Linux as an LDAP client.

Much depends on your this system will be used and the type of data you need from the ad DC.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial