What does Make sure local comes before bind in nsswitch mean?
Em /etc/nsswitch.conf na linha "host: .." arquivos antes do dns. Exemplo:
Correct
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Not correct
hosts: dns files
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
O segundo erro que penso ter abordado. Eu não entendi o primeiro embora.
O que Garante que o local venha antes de ligar em nsswitch significa?
Eu acho que significa que no arquivo /etc/nsswitch.conf, a linha que controla as fontes para o DNS deve direcionar as pesquisas de nomes para serem de arquivos locais antes de qualquer outra fonte de nomenclatura como bind
então você deve ter uma linha como esta
hosts: files dns mdns4_minimal
em vez disso
hosts: dns files mdns4_minimal
Tags likewise-open