Solucionando Problemas: The following error occurred attempting to join the domain "dominio.local" the network path was not found (pt-BR)
Introdução
Ao tentar ingressar uma maquina no domínio você recebe uma mensagem:
The following error ocurred attempting to join the domain "dominio.local" the network path was not found
Analise
Você verifica resolução de nomes com nslookup, faz dezenas de testes em seu servidor DNS e Active Directory, mas não descobre nenhum problema.
Existe um log chamado NetSetup.LOG, localizado em %windir%\Debug, neste log registra todos os passos de quando você esta ingressando uma maquina no domínio, veja:
03/31/2011 13:37:01:352 NetpDoDomainJoin
03/31/2011 13:37:01:352 NetpMachineValidToJoin: 'VPN'
03/31/2011 13:37:01:352 OS Version: 6.0
03/31/2011 13:37:01:352 Build number: 6002
03/31/2011 13:37:01:352 ServicePack: Service Pack 2
03/31/2011 13:37:01:352 SKU: Windows Server® 2008 Standard without Hyper-V
03/31/2011 13:37:01:352 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
03/31/2011 13:37:01:352 NetpGetLsaPrimaryDomain: status: 0x0
03/31/2011 13:37:01:352 NetpMachineValidToJoin: status: 0x0
03/31/2011 13:37:01:352 NetpJoinDomain
03/31/2011 13:37:01:352 Machine: VPN
03/31/2011 13:37:01:352 Domain: dominio.local
03/31/2011 13:37:01:352 MachineAccountOU: (NULL)
03/31/2011 13:37:01:352 Account: dominio.local\administrator
03/31/2011 13:37:01:352 Options: 0x27
03/31/2011 13:37:01:352 NetpLoadParameters: loading registry parameters...
03/31/2011 13:37:01:352 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
03/31/2011 13:37:01:352 NetpLoadParameters: status: 0x2
03/31/2011 13:37:01:352 NetpValidateName: checking to see if 'dominio.local' is valid as type 3 name
03/31/2011 13:37:01:477 NetpCheckDomainNameIsValid [ Exists ] for 'dominio.local' returned 0x0
03/31/2011 13:37:01:477 NetpValidateName: name 'dominio.local' is valid for type 3
03/31/2011 13:37:01:477 NetpDsGetDcName: trying to find DC in domain 'dominio.local', flags: 0x40001010
03/31/2011 13:37:04:649 NetpDsGetDcName: failed to find a DC having account 'VPN$': 0x525, last error is 0x79
03/31/2011 13:37:04:649 NetpDsGetDcName: status of verifying DNS A record name resolution for 'dc01.dominio.local': 0x0
03/31/2011 13:37:04:649 NetpDsGetDcName: found DC '\dc01.dominio.local' in the specified domain
03/31/2011 13:37:04:649 NetUseAdd to \dc01.dominio.local\IPC$ returned 53
03/31/2011 13:37:04:649 NetpJoinDomain: status of connecting to dc '\dc01.dominio.local': 0x35
03/31/2011 13:37:04:649 NetpDoDomainJoin: status: 0x35
Traduzindo as mensagens em negrito:
Ao ingressar a maquina do domínio, o cliente envia varias "perguntas" para o controlador de domínio, o qual responde para o cliente, mas o cliente entende que a resposta esta incompleta, então ela faz a consulta por "NetBIOS" para o nome do domínio (FQDN), o qual não tem a resposta, por isso que você recebe a mensagem "The following error ocurred attempting to join the domain "dominio.local" the network path was not found", e não consegue ingressar a maquina no domínio.
Solução
Apesar de existir varias soluções para este problema nenhuma se adequou ao meu ambiente.
1. Clique em Iniciar > Executar > Digite services.msc > Enter
2. Procure pelo serviço 'TCP/IP NetBIOS Helper', defina o status como "Automatic" e clique em Start.
3. Em seguida ingresse a maquina no domínio
4. Reinicie o servidor
5. Verifique o log NetSetup.LOG
03/31/2011 13:45:34:243 NetpDoDomainJoin
03/31/2011 13:45:34:243 NetpMachineValidToJoin: 'VPN'
03/31/2011 13:45:34:243 OS Version: 6.0
03/31/2011 13:45:34:243 Build number: 6002
03/31/2011 13:45:34:243 ServicePack: Service Pack 2
03/31/2011 13:45:34:243 SKU: Windows Server® 2008 Standard without Hyper-V
03/31/2011 13:45:34:243 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
03/31/2011 13:45:34:258 NetpGetLsaPrimaryDomain: status: 0x0
03/31/2011 13:45:34:258 NetpMachineValidToJoin: status: 0x0
03/31/2011 13:45:34:258 NetpJoinDomain
03/31/2011 13:45:34:258 Machine: VPN
03/31/2011 13:45:34:258 Domain: dominio.local
03/31/2011 13:45:34:258 MachineAccountOU: (NULL)
03/31/2011 13:45:34:258 Account: dominio.local\administrator
03/31/2011 13:45:34:258 Options: 0x27
03/31/2011 13:45:34:258 NetpLoadParameters: loading registry parameters...
03/31/2011 13:45:34:258 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
03/31/2011 13:45:34:258 NetpLoadParameters: status: 0x2
03/31/2011 13:45:34:258 NetpValidateName: checking to see if 'dominio.local' is valid as type 3 name
03/31/2011 13:45:34:368 NetpCheckDomainNameIsValid [ Exists ] for 'dominio.local' returned 0x0
03/31/2011 13:45:34:368 NetpValidateName: name 'dominio.local' is valid for type 3
03/31/2011 13:45:34:368 NetpDsGetDcName: trying to find DC in domain 'dominio.local', flags: 0x40001010
03/31/2011 13:45:37:540 NetpDsGetDcName: failed to find a DC having account 'VPN$': 0x525, last error is 0x79
03/31/2011 13:45:37:540 NetpDsGetDcName: status of verifying DNS A record name resolution for 'dc1.dominio.local': 0x0
03/31/2011 13:45:37:540 NetpDsGetDcName: found DC '\dc1.dominio.local' in the specified domain
03/31/2011 13:45:37:540 NetpJoinDomain: status of connecting to dc '\dc1.dominio.local': 0x0
03/31/2011 13:45:37:540 NetpGetLsaPrimaryDomain: status: 0x0
03/31/2011 13:45:37:540 NetpGetDnsHostName: Read NV Hostname: vpn
03/31/2011 13:45:37:540 NetpGetDnsHostName: PrimaryDnsSuffix defaulted to DNS domain name: dominio.local
03/31/2011 13:45:37:540 NetpLsaOpenSecret: status: 0xc0000034
03/31/2011 13:45:37:540 NetpGetLsaPrimaryDomain: status: 0x0
03/31/2011 13:45:37:540 NetpLsaOpenSecret: status: 0xc0000034
03/31/2011 13:45:38:461 NetpJoinDomain: status of creating account: 0x0
03/31/2011 13:45:38:571 NetpGetComputerObjectDn: Cracking DNS domain name dominio.local/ into Netbios on \dc1.dominio.local
03/31/2011 13:45:38:586 NetpGetComputerObjectDn: Crack results: name = DOMINIO\
03/31/2011 13:45:38:586 NetpGetComputerObjectDn: Cracking account name DOMINIO\VPN$ on \dc1.dominio.local
03/31/2011 13:45:38:586 NetpGetComputerObjectDn: Crack results: (Account already exists) DN = CN=VPN,CN=Computers,DC=dominio,DC=local
03/31/2011 13:45:38:586 NetpModifyComputerObjectInDs: Initial attribute values:
03/31/2011 13:45:38:602 DnsHostName = vpn.dominio.local
03/31/2011 13:45:38:602 ServicePrincipalName = HOST/vpn.dominio.local HOST/VPN
03/31/2011 13:45:38:602 NetpModifyComputerObjectInDs: Computer Object already exists in OU:
03/31/2011 13:45:38:602 DnsHostName =
03/31/2011 13:45:38:602 ServicePrincipalName =
03/31/2011 13:45:38:602 NetpModifyComputerObjectInDs: Attribute values to set:
03/31/2011 13:45:38:602 DnsHostName = vpn.dominio.local
03/31/2011 13:45:38:602 ServicePrincipalName = HOST/vpn.dominio.local HOST/VPN
03/31/2011 13:45:38:727 ldap_unbind status: 0x0
03/31/2011 13:45:38:727 NetpJoinDomain: status of setting DnsHostName and SPN: 0x0
03/31/2011 13:45:38:727 NetpGetLsaPrimaryDomain: status: 0x0
03/31/2011 13:45:39:133 NetpSetLsaPrimaryDomain: for 'DOMINIO' status: 0x0
03/31/2011 13:45:39:133 NetpJoinDomain: status of setting LSA pri. domain: 0x0
03/31/2011 13:45:39:586 NetpJoinDomain: status of managing local groups: 0x0
03/31/2011 13:45:39:586 NetpJoinDomain: status of setting netlogon cache: 0x0
03/31/2011 13:45:40:196 NetpJoinDomain: status of setting ComputerNamePhysicalDnsDomain to 'dominio.local': 0x0
03/31/2011 13:45:40:211 NetpUpdateW32timeConfig: 0x0
03/31/2011 13:45:40:211 NetpJoinDomain: status of disconnecting from '\dc1.dominio.local': 0x0
03/31/2011 13:45:40:211 NetpDoDomainJoin: status: 0x0
Maquina ingressou no dominio, NetpDoDomainJoin:** status: 0x0**
Resumo
Neste artigos aprendemos a fazer troubleshooting ao ingressar uma maquina no dominio.
Erick Albuquerque** | Moderator at Technet Brasil**
http://iisbrasil.wordpress.com/** | **http://erickalbuquerque.com.br/