gpt4 book ai didi

linux - 加入 CentOS 7 到事件目录

转载 作者:太空宇宙 更新时间:2023-11-04 12:28:51 25 4
gpt4 key购买 nike

我正在尝试将 centos 7 pc 加入 Windows 2012 事件目录。我已经安装了这些包作为先决条件。

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。

谢谢

最佳答案

检查您是否已从 CentOS 打开所有 Active Directory 端口...

AD 端口列表 - https://technet.microsoft.com/en-us/library/dd772723(v=ws.10).aspx

谢谢,阿希什

关于linux - 加入 CentOS 7 到事件目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43861879/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com