Joining to AD Domain: ******* With Computer DNS Name: (null) Error: Required configuration stage not enabled [code 0x0000a606] The configuration of module 'set computer hostname' is required. Please either allow this configuration stage to be performed automatically (by passing '--enable hostname'), or manually perform these configuration steps and rerun the domain join: The following step(s) are required: Give the machine a fully-qualified domain name. If performed automatically, the fqdn will be set through /etc/hosts to 'proj.users.campus', but it is possible to use a different fqdn and/or set it through dns instead of /etc/hosts. However in all cases, the fqdn must follow standard DNS naming conventions, and have a period in the name. The following steps will be used if the fqdn is set automatically: * Make sure local comes before bind in nsswitch * Add a loopback entry in /etc/hosts and put the fqdn as the primary name
第二个错误,我想我已经解决了。 我不明白第一个。
确保在nsswitch绑定之前确定local是什么意思?
确保在nsswitch绑定之前确定local是什么意思?
在/etc/nsswitch.conf中,在dns之前的“host:..”文件中。 例:
Correct hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 Not correct hosts: dns files
我认为这意味着在/etc/nsswitch.conf文件中,控制DNS源的行应该指定名称查找来自本地文件,然后再使用其他命名源
所以你应该有这样的一条线
hosts: files dns mdns4_minimal
而不是这个
hosts: dns files mdns4_minimal