【问题标题】:Join CentOS 7 to active directory将 CentOS 7 加入活动目录
【发布时间】:2017-05-09 05:35:48
【问题描述】:

我正在尝试将 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。

谢谢

【问题讨论】:

  • 投票结束这个问题作为题外话。请注意,Stackoverflow 仅用于编程相关问题。请查看help center,了解可以在此处询问的主题。该帮助还提供了其他 SE 网站的列表,您可以浏览这些网站以找到适合您问题的网站。

标签: linux active-directory centos redhat samba


【解决方案1】:

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

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

谢谢, 阿什什

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-15
    • 1970-01-01
    • 2018-01-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多