我试图将centos 7 pc加入Windows 2012 Active目录。我已经安装了这些软件包作为先决条件。
sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python
DNS也正在解决。但是当我尝试
时realm -v join -U 'administrator' vsis.tec
每次都会收到此错误。
[root@centos mnt]# realm -v join -U 'administrator' vsis.tec
* Resolving: _ldap._tcp.vsis.tec
* Performing LDAP DSE lookup on: 172.16.100.5
* Successfully discovered: vsis.tec
Password for administrator:
* Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net
* LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.NOG5ZY -U administrator ads join vsis.tec
Enter administrator's password:
Failed to join domain: failed to lookup DC info for domain 'vsis.tec' over rpc: The transport connection has been reset.
! Joining the domain vsis.tec failed
realm: Couldn't join realm: Joining the domain vsis.tec failed
请帮我弄清楚错误并将centos加入AD。
谢谢
答案 0 :(得分:0)
检查您是否已从CentOS打开所有Active Directory端口...
AD端口列表 - https://technet.microsoft.com/en-us/library/dd772723(v=ws.10).aspx
谢谢, 阿希什