Turritopsis Dohrnii Teo En Ming
2022-Jul-07 14:25 UTC
[Samba] How to join RHEL 7 Linux Server to Active Directory Domain
Hi Rowland, May I know what is Samba's way of joining an UNIX machine to Active Directory domain? Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore On Thu, 7 Jul 2022 at 22:17, Rowland Penny via samba <samba at lists.samba.org> wrote:> > On Thu, 2022-07-07 at 21:29 +0800, Turritopsis Dohrnii Teo En Ming via > samba wrote: > > Subject: How to join RHEL 7 Linux Server to Active Directory Domain > > > > Good day from Singapore, > > > > I didn't realize it is so easy to join RHEL 7 Linux server to Active > > Directory Domain. > > > > You only need a few simple commands. > > > > # yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common > > samba-common-tools krb5-workstation openldap-clients > > policycoreutils-python -y > > > > # realm join -v --user=[domain user account] > > addc01.project.domain.com > > And those are not the Samba way of joining a Unix machine to an AD > domain. > > Rowland > > Please do not 'CC' me, just post to the list. > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Christopher Cox
2022-Jul-07 14:29 UTC
[Samba] How to join RHEL 7 Linux Server to Active Directory Domain
On 7/7/22 09:25, Turritopsis Dohrnii Teo En Ming via samba wrote:> Hi Rowland, > > May I know what is Samba's way of joining an UNIX machine to Active > Directory domain?I would highly recommend perusing: https://wiki.samba.org/index.php/Main_Page
Rowland Penny
2022-Jul-07 14:37 UTC
[Samba] How to join RHEL 7 Linux Server to Active Directory Domain
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!