[Samba] How to join RHEL 7 Linux Server to Active Directory Domain

Rowland Penny rpenny at samba.org
Thu Jul 7 14:37:29 UTC 2022


On Thu, 2022-07-07 at 22:25 +0800, Turritopsis Dohrnii Teo En Ming
wrote:
> Hi Rowland,
> 
> May I know what is Samba's way of joining an UNIX machine to Active
> Directory domain?

I am not going to write an 'howto' here, but you basically need to
install the required packages (which can and do have different names
depending on the OS). You then need to ensure the computer can find an
AD DC, create a valid smb.conf depending on your choice of winbind
idmap backend. Once everything is set up correctly, you then run 'net
ads join -U Valid_Join_User', where Valid_Join_User is an AD user that
can join machines to the domain (usually 'Administrator').

Rowland

DO NOT 'CC' ME!
JUST SEND POSTS TO THE LIST!





More information about the samba mailing list