System: CentOS Linux release 7.6.1810 (Core)
Domain controller: Microsoft Windows Server 2019 Datacenter
A. Install all dependence and tools // 安装依赖与工具
yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python -y
B. Check the domain in local net // 检查当前网段存在的域
cat /etc/resolv.conf
C. Join the domain and enter the administrator password // 加入特定域并输入域管理员密码
realm join --user=admin example.com
Password for administrator:
NOTE: In linux nothing happen meaning success // 摘自其他文章的话,在Linux系统中,什么都没有发生,意味着正常。
D. Check the domain status // 检查域状态,显示域信息
realm list