question

Jol-3094 avatar image
Jol-3094 asked ·

Error to join the domain : the specified network name is no longer available

Hello,

For testing, i installed a new server with W2019.
I added roles AD DS and DNS and upgrate it on Domain Controler.
IP is: 192.68.0.1 / Mask : 255.255.255.0 / gateway: 192.168.0.254 / DNS : 192.168.0.1

I have a pc with IP : 192.68.0.4 / Mask : 255.255.255.0 / gateway : 192.168.0.254 / DNS : 192.168.0.1

When i try to add it on the domain, i have this message : your computer could not be joined to the domain because the following error occurred: the specified network name is no longer available

I checked logs but i don't see any mistakes.

08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'PCJOEL' is valid as type 1 name
08/28/2020 15:41:48:524 NetpCheckNetBiosNameNotInUse for 'PCJOEL' [MACHINE] returned 0x0
08/28/2020 15:41:48:524 NetpValidateName: name 'PCJOEL' is valid for type 1
08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'PCJOEL' is valid as type 5 name
08/28/2020 15:41:48:524 NetpValidateName: name 'PCJOEL' is valid for type 5
08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:48:609 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:48:609 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:290 -----------------------------------------------------------------
08/28/2020 15:41:56:290 NetpDoDomainJoin
08/28/2020 15:41:56:290 NetpDoDomainJoin: using current computer names
08/28/2020 15:41:56:290 NetpDoDomainJoin: NetpGetComputerNameEx(NetBios) returned 0x0
08/28/2020 15:41:56:290 NetpDoDomainJoin: NetpGetComputerNameEx(DnsHostName) returned 0x0
08/28/2020 15:41:56:290 NetpMachineValidToJoin: 'PCJOEL'
08/28/2020 15:41:56:290 NetpMachineValidToJoin: status: 0x0
08/28/2020 15:41:56:290 NetpJoinDomain
08/28/2020 15:41:56:290 HostName: PCJOEL
08/28/2020 15:41:56:290 NetbiosName: PCJOEL
08/28/2020 15:41:56:290 Domain: hoffmann.local
08/28/2020 15:41:56:290 MachineAccountOU: (NULL)
08/28/2020 15:41:56:290 Account: hoffmann.local\administrateur
08/28/2020 15:41:56:290 Options: 0x25
08/28/2020 15:41:56:290 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:56:368 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:368 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:368 NetpDsGetDcName: trying to find DC in domain 'hoffmann.local', flags: 0x40001010
08/28/2020 15:41:56:824 NetpDsGetDcName: failed to find a DC having account 'PCJOEL$': 0x525, last error is 0x0
08/28/2020 15:41:56:839 NetpDsGetDcName: status of verifying DNS A record name resolution for 'serveur.hoffmann.local': 0x0
08/28/2020 15:41:56:839 NetpDsGetDcName: found DC '\\serveur.hoffmann.local' in the specified domain
08/28/2020 15:41:56:839 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/28/2020 15:41:56:839 NetpDisableIDNEncoding: using FQDN hoffmann.local from dcinfo
08/28/2020 15:41:56:839 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'hoffmann.local' succeeded
08/28/2020 15:41:56:839 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/28/2020 15:41:56:854 NetUseAdd to \\serveur.hoffmann.local\IPC$ returned 64
08/28/2020 15:41:56:854 NetpJoinDomainOnDs: status of connecting to dc '\\serveur.hoffmann.local': 0x40
08/28/2020 15:41:56:854 NetpJoinDomainOnDs: Function exits with status of: 0x40
08/28/2020 15:41:56:870 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:870 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'hoffmann.local': 0x0
08/28/2020 15:41:56:870 NetpDoDomainJoin: status: 0x40
08/28/2020 15:41:56:870 -----------------------------------------------------------------
08/28/2020 15:41:56:870 NetpDoDomainJoin
08/28/2020 15:41:56:870 NetpDoDomainJoin: using current computer names
08/28/2020 15:41:56:870 NetpDoDomainJoin: NetpGetComputerNameEx(NetBios) returned 0x0
08/28/2020 15:41:56:870 NetpDoDomainJoin: NetpGetComputerNameEx(DnsHostName) returned 0x0
08/28/2020 15:41:56:870 NetpMachineValidToJoin: 'PCJOEL'
08/28/2020 15:41:56:870 NetpMachineValidToJoin: status: 0x0
08/28/2020 15:41:56:870 NetpJoinDomain
08/28/2020 15:41:56:870 HostName: PCJOEL
08/28/2020 15:41:56:870 NetbiosName: PCJOEL
08/28/2020 15:41:56:870 Domain: hoffmann.local
08/28/2020 15:41:56:870 MachineAccountOU: (NULL)
08/28/2020 15:41:56:870 Account: hoffmann.local\administrateur
08/28/2020 15:41:56:870 Options: 0x27
08/28/2020 15:41:56:877 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:56:942 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:942 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:942 NetpDsGetDcName: trying to find DC in domain 'hoffmann.local', flags: 0x40001010
08/28/2020 15:41:57:411 NetpDsGetDcName: failed to find a DC having account 'PCJOEL$': 0x525, last error is 0x0
08/28/2020 15:41:57:411 NetpDsGetDcName: status of verifying DNS A record name resolution for 'serveur.hoffmann.local': 0x0
08/28/2020 15:41:57:411 NetpDsGetDcName: found DC '\\serveur.hoffmann.local' in the specified domain
08/28/2020 15:41:57:411 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/28/2020 15:41:57:411 NetpDisableIDNEncoding: using FQDN hoffmann.local from dcinfo
08/28/2020 15:41:57:427 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'hoffmann.local' succeeded
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/28/2020 15:41:57:427 NetUseAdd to \\serveur.hoffmann.local\IPC$ returned 64
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: status of connecting to dc '\\serveur.hoffmann.local': 0x40
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: Function exits with status of: 0x40
08/28/2020 15:41:57:427 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'hoffmann.local' returned 0x0
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'hoffmann.local': 0x0
08/28/2020 15:41:57:427 NetpDoDomainJoin: status: 0x40


I tested the same procedure with a W2012R2, i have no problems.

What can be the cause of this problem?

Thanks,

Joël

windows-active-directorywindows-dhcp-dnswindows-server-infrastructure
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
DSPatrick answered ·

I'd check that the domain controller and problem member both have the static ip address of DC listed for DNS and no others such as router or public DNS. If problems persist then please run;

then put unzipped text files up on OneDrive and share a link.



--please don't forget to Accept as answer if the reply is helpful--








Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jol-3094 avatar image
Jol-3094 answered ·

Thanks Patrick,

But after 10 days of research, I finally found.
It was because smb 1.0/cifs file sharing support is not install on the server.

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
DSPatrick answered ·

Glad to hear its sorted, it always helps to describe the environment in detail. As to SMB1 Server 2019 does not use it by default. While its possible to add it; it presents a security risk to do so. More info here.
https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858


--please don't forget to Accept as answer if the reply is helpful--





Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jol-3094 avatar image
Jol-3094 answered ·

Thanks for the information. But what's alternative ?

SMB v2 is activated but it doesn't seem enough.

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We've no idea since you didn't describe the environment or put up the problematic files.


--please don't forget to Accept as answer if the reply is helpful--







0 Votes 0 · ·
Jol-3094 avatar image
Jol-3094 answered ·

Pls find files as requested : myTests.zip


Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
DSPatrick answered ·

On pc-joel remove the google public (8.8.8.8) DNS from connection properties. Then do ipconfig /flushdns, ipconfig /registerdns Domain controller and problem member must both have the static ip address of DC listed for DNS and no others such as router or public DNS


--please don't forget to Accept as answer if the reply is helpful--




Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VickyWang-MFST avatar image
VickyWang-MFST answered ·

Hi,
 
Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
 
Best Regards,
Vicky

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.