CentOS Join Windows Active Drirectory(AD) - Thanatos

CentOS Join Windows Active Drirectory(AD)

 yum install krb5-libs krb5-devel pam_krb5 krb5-workstation krb5-auth-dialog samba-winbind samba samba-common samba-client samba-winbind-clients realmd oddjob oddjob-mkhomedir sssd adcli openldap-clients policycoreutils-python samba-common samba-common-tools krb5-workstation
vim /etc/sysconfig/network
realm discover-v domain
setup
vim /etc/resolv.conf
 realm
hostnamectl
hostnamectl set-hostname hostname.domain
hostname
hostnamectl
realm join domain
realm
realm join domain user username
realm join domain
cat /etc/sssd/sssd.conf
id user@domain
vim /etc/sudoers

添加新评论

电子邮件地址不会被公开,评论内容可能需要管理员审核后显示。