joinSamba 4 AD域,缺lessDNS条目?

我刚刚使用Samba提供的指南设置了一个Samba 4 Active Directory域。 到目前为止这样好,我设法join我的文件服务器到这个域,通过安装一个Samba AD成员服务器指南。 但是,我似乎无法使我的Windows 8.1 Professional设备join此域。 我发现joinWindows客户端到Samba站点上的域指南,但是要么会抛出一个错误“指定的域不存在或无法联系”(当我键入所有大写的域名)或抛出更详细的错误(当我input小写的域名):

Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt. The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain "samba.local": The error was: "DNS name does not exist." (error code 0x0000232B RCODE_NAME_ERROR) The query was for the SRV record for _ldap._tcp.dc._msdcs.samba.local Common causes of this error include the following:> - The DNS SRV records required to locate a AD DC for the domain are not registered in DNS. These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses: 192.168.1.2 - One or more of the following zones do not include delegation to its child zone: samba.local local . (the root zone) 

我已经检查了/var/lib/samba/private/dns_update_list文件,它在那里。 我唯一注意到的是,如果这是一个读写DC,那么它会被检查。 确切的线说

  ${IF_RWDC}SRV _ldap._tcp.dc._msdcs.${DNSDOMAIN} ${HOSTNAME} 389 

我的DNS域名(在configuration期间指定)是samba.local 。 有关设置的更多信息:

  Samba DC version: 4.1.13-Debian (running on Debian testing) Member server version: 4.1.14 (running on Fedora 21) Windows versions: 8.1 Professional and 10 Pro Tech Preview (both fully up to date) Server Role: active directory domain controller Hostname: DC1 NetBIOS Domain: SAMBA DNS Domain: samba.local 

我唯一的Windows域的早期经验是在Server 2003 R2和Windows XP上,所以我不是真的在新版本上加快速度。

将Windows机器的DNS服务器更改为域控制器为我解决了这个问题。

我的Windows机器设置了IPv6,并与IPv6 DNS服务器相结合。 完全禁用IPv6(这是过度的,但容易),一切都通过IPv4,并拿起正确的DNS服务器,并能够解决的领域。

所以,试着:

  • 禁用IPv6(快速和脏)
  • 将IPv6 DNS服务器设置为Samba服务器

为我修好了:)