Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2014, 08:50 AM   #1
Registered: Dec 2014
Posts: 55

Rep: Reputation: Disabled
Joining a windows domain

Hey guys I am not sure if I am supposed to place this in the newbie section, but I just landed an entry IT specialist job and need help with Linux and joining a windows domain.

But I was wondering is there a specific place where I can join and un-join a domain? somewhere it the /etc/ location?

Also, when a computer joins the domain, when i type hostname -f, it should come out "for example"

thanks guys, sorry for a dumb question. i would ask at work, but we are in holiday season now =D
Old 12-20-2014, 03:47 PM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,458

Rep: Reputation: Disabled
"Joining" a Windows Active Directory domain means creating an account for the client PC in the Active Directory domain, and configuring the client PC to allow authentication requests to be handled by a Domain Controller.

Linux can be configured to support Active Directory, but it's a slightly more complicated procedure than the one used to join a Windows client to a domain. There's no single configuration file one can edit, and the procedure differs from one distribution to another.

If what you need is the ability to log on to the Linux system using Active Directory credentials, there are in fact several ways to accomplish that:
  • Samba, which runs on most if not every Linux distribution, can easily join a Windows domain and provides a PAM module (pam_winbind) for authentication (see PAM below)
  • the System Security Services Daemon (SSSD), a Fedora/Red Hat project, allows authentication against AD (using Kerberos), and can also cache credentials and identities locally (which could be useful for laptops on the move)
  • various PAM modules allow authentication against the Kerberos component in Active Directory (pam_krb5) or the LDAP service (pam_ldap)
Which is best? It depends on what you're trying to accomplish, and to a smaller extent which Linux distribution you're running.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"the trust relation between this workstation and the primary domain failed" windows 7 domain joining ach68 Linux - Server 2 03-27-2011 11:33 PM
Joining a linux machine to a windows domain having a wndows 2003 as domain contoller sukalyan_g SUSE / openSUSE 1 03-28-2008 01:31 AM
Error joining Windows domain plustiber Linux - Networking 1 11-13-2007 04:47 PM
Joining SLED10 to Windows Domain amf0603 Linux - Newbie 0 11-06-2006 02:22 PM
Joining a windows domain Lach_man Linux - Networking 0 12-04-2001 11:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration