Configure Linux File Server for Windows Domain - CentOS 7

From Michael's Information Zone
Jump to navigation Jump to search

https://community.spiceworks.com/how_to/44885-setup-centos-to-authenticate-via-active-directory

Notes

yum install -y realmd krb5-workstation oddjob oddjob-mkhomedir sssd samba-common
echo "default_domain_suffix=domain.com" >> /etc/sssd/sssd.conf
sed -i 's/^#\ default_realm\ =\ example.com/\ default_realm\ =\ domain.com/' /etc/krb5.conf
sed -i 's/^\ dns_lookup_realm\ =\ false/\ dns_lookup_realm\ =\ true/' /etc/krb5.conf
realm join -U user.name domain.com