Turritopsis Dohrnii Teo En Ming
2022-Jul-07 13:29 UTC
[Samba] How to join RHEL 7 Linux Server to Active Directory Domain
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 # realm list project.domain.com type: kerberos realm-name: PROJECT.DOMAIN.COM domain-name: project.domain.com configured: kerberos-member server-software: sssd required-package: oddjob required-package: oddjob-mkhomedir required-package: sssd required-package: adcli required-package: samba-common-tools login-formats: %U at project.domain.com login-policy: allow-realm-logins That's it. Regards, Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore 7 July 2022 Thursday Blogs: https://tdtemcerts.blogspot.com https://tdtemcerts.wordpress.com
Rowland Penny
2022-Jul-07 14:16 UTC
[Samba] How to join RHEL 7 Linux Server to Active Directory Domain
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.comAnd 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.