Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

changing the primary domain dns name of this computer to "" failed

$
0
0

Trying to join a new server to an existing AD across the wan and getting the error shown below. 

The HQ has 2 DCs, remote site has none. 

The computer at the remote site has DCs from the HQ as DNS. Windows firewall is disabled on all servers and there is no restriction on the traffic in either direction. 

After I click OK on the error and reboot, I can see the server from the remote location in AD, however there is no DNS recoord for it created in DNS. 

If I try to log in to the domain I just joined from the remote location I am getting an error "The trust relationship between this computer and the primary domain failed"

The trust relationship between this workstation and the primary domain failed

NetSetup log is shown below

04/04/2019 18:05:24:505 lpDomain: ourdomain.local
04/04/2019 18:05:24:505 lpHostName: new-server
04/04/2019 18:05:24:505 lpMachineAccountOU: (NULL)
04/04/2019 18:05:24:505 lpDcName: domainatHQ.ourdomain.local
04/04/2019 18:05:24:505 lpMachinePassword: (null)
04/04/2019 18:05:24:505 lpAccount: domain\superuser
04/04/2019 18:05:24:505 lpPassword: (non-null)
04/04/2019 18:05:24:505 dwJoinOptions: 0x27
04/04/2019 18:05:24:505 dwOptions: 0x40000003
04/04/2019 18:05:24:520 NetpLdapBind: Verified minimum encryption strength on domainatHQ.ourdomain.local: 0x0
04/04/2019 18:05:24:520 NetpLdapGetLsaPrimaryDomain: reading domain data
04/04/2019 18:05:24:520 NetpGetNCData: Reading NC data
04/04/2019 18:05:24:536 NetpLdapGetLsaPrimaryDomain: result of retrieving domain data: 0x0
04/04/2019 18:05:24:536 NetpCheckForDomainSIDCollision: returning 0x0(0).
04/04/2019 18:05:45:567 NetpGetComputerObjectDn: Unable to bind to DS on '\\domainatHQ.ourdomain.local': 0x6ba
04/04/2019 18:05:45:567 NetpCreateComputerObjectInDs: NetpGetComputerObjectDn failed: 0x6ba
04/04/2019 18:05:45:567 NetpProvisionComputerAccount: LDAP creation failed: 0x6ba
04/04/2019 18:05:45:567 NetpProvisionComputerAccount: Retrying downlevel per options
04/04/2019 18:05:45:677 NetpProvisionComputerAccount: retry status of creating account: 0x0
04/04/2019 18:05:45:677 NetpDeleteMachineAccountKey: called for computer 'new-server'
04/04/2019 18:06:06:712 NetpGetComputerObjectDn: Unable to bind to DS on '\\domainatHQ.ourdomain.local': 0x6ba
04/04/2019 18:06:06:712 NetpDeleteMachineAccountKey: NetpGetComputerObjectDn failed for computer 'new-server'. Status: 1722
04/04/2019 18:06:06:712 NetpDeleteMachineAccountKey: returning Status: 1722 
04/04/2019 18:06:06:712 NetpProvisionComputerAccount: Attempt at deleting machine auth key failed: 0x6ba.
04/04/2019 18:06:06:712 ldap_unbind status: 0x0
04/04/2019 18:06:06:712 NetpJoinCreatePackagePart: status:0x0.
04/04/2019 18:06:06:728 NetpJoinDomainOnDs: Setting netlogon cache.
04/04/2019 18:06:06:743 NetpJoinDomainOnDs: status of setting netlogon cache: 0x0
04/04/2019 18:06:06:743 NetpJoinDomainOnDs: Function exits with status of: 0x0
04/04/2019 18:06:06:743 NetpJoinDomainOnDs: status of disconnecting from '\\domainatHQ.ourdomain.local': 0x0
04/04/2019 18:06:06:759 NetpJoinDomain: DsrIsDeviceJoined returned false
04/04/2019 18:06:06:868 NetpJoinDomain: NetpCompleteOfflineDomainJoin SUCCESS: Requested a reboot :0x0
04/04/2019 18:06:06:868 NetpDoDomainJoin: status: 0x0
tting backup/restore privileges.
04/04/2019 18:06:06:712 NetpAddPartCollectionToRegistry.
04/04/2019 18:06:06:712 NetpProvGetTargetProductVersion: Target product version: 10.0.14393.0
04/04/2019 18:06:06:712 NetpAddPartCollectionToRegistry: delete OP state key status: 0x2.
04/04/2019 18:06:06:728 NetpConvertBlobToJoinState: Translating provisioning data to internal format
04/04/2019 18:06:06:728 NetpConvertBlobToJoinState: Selecting version 1
04/04/2019 18:06:06:728 NetpConvertBlobToJoinState: exiting: 0x0
04/04/2019 18:06:06:728 NetpJoin2RequestPackagePartInstall: Successfully persisted all fields
04/04/2019 18:06:06:728 NetpAddPartCollectionToRegistry: Successfully initiated provisioning package installation: 2/2 part(s) installed.
04/04/2019 18:06:06:728 NetpAddPartCollectionToRegistry: status: 0x0.
04/04/2019 18:06:06:728 NetpOpenRegistry: status: 0x0.
04/04/2019 18:06:06:728 NetpSetPrivileges: status: 0x0.
04/04/2019 18:06:06:728 NetpRequestProvisioningPackageInstall: status: 0x0.
04/04/2019 18:06:06:759 -----------------------------------------------------------------
04/04/2019 18:06:06:759 NetpProvContinueProvisioningPackageInstall:
04/04/2019 18:06:06:759 Context: 0
04/04/2019 18:06:06:759 NetpProvGetWindowsImageState: IMAGE_STATE_COMPLETE.
04/04/2019 18:06:06:759 NetpCreatePartListFromRegistry: status: 0x0.
04/04/2019 18:06:06:759 NetpCompleteOfflineDomainJoin
04/04/2019 18:06:06:759 fBootTimeCaller: FALSE
04/04/2019 18:06:06:759 fSetLocalGroups: TRUE
04/04/2019 18:06:06:759 NetpJoinDomainLocal: NetpHandleJoinedStateInfo returned: 0x0
04/04/2019 18:06:06:837 NetpJoinDomainLocal: NetpManageMachineSecret returned: 0x0.
04/04/2019 18:06:06:837 Calling NetpQueryService to get Netlogon service state.
04/04/2019 18:06:06:837 NetpJoinDomainLocal: NetpQueryService returned: 0x0.
04/04/2019 18:06:06:837 NetpJoinDomainLocal: status of setting LSA pri. domain: 0x0
04/04/2019 18:06:06:837 NetpManageLocalGroupsForJoin: Adding groups for new domain, removing groups from old domain, if any.
04/04/2019 18:06:06:853 NetpManageLocalGroupsForJoin: status of modifying groups related to domain 'DOMAIN' to local groups: 0x0
04/04/2019 18:06:06:853 NetpManageLocalGroupsForJoin: INFO: No old domain groups to process.
04/04/2019 18:06:06:853 NetpJoinDomainLocal: Status of managing local groups: 0x0
04/04/2019 18:06:06:853 NetpJoinDomainLocal: status of setting ComputerNamePhysicalDnsDomain to 'ourdomain.local': 0x0
04/04/2019 18:06:06:853 NetpJoinDomainLocal: Controlling services and setting service start type.
04/04/2019 18:06:06:853 NetpJoinDomainLocal: Updating W32TimeConfig
04/04/2019 18:06:06:868 NetpCompleteOfflineDomainJoin: status: 0x0
04/04/2019 18:06:06:868 NetpJoinProvider2OLContinuePackagePartInstall: ignoring Context=0 (work finished already).
04/04/2019 18:06:06:868 NetpProvContinueProvisioningPackageInstall: Provisioning package installation completed successfully.
04/04/2019 18:06:06:868 NetpProvContinueProvisioningPackageInstall: delete OP state key status: 0x0.
04/04/2019 18:06:06:868 NetpProvContinueProvisioningPackageInstall: status: 0xa99.
04/04/2019 18:06:20:688 -----------------------------------------------------------------
04/04/2019 18:06:20:688 NetpChangeMachineName: from 'new-server' to 'new-server' using 'domain\superuser' [0x1000]
04/04/2019 18:06:20:688 NetpChangeMachineName: using DnsHostnameToComputerNameEx
04/04/2019 18:06:20:688 NetpChangeMachineName: generated netbios name: 'new-server'
04/04/2019 18:06:20:688 NetpDsGetDcName: trying to find DC in domain 'ourdomain.local', flags: 0x1010
04/04/2019 18:06:20:688 NetpDsGetDcName: found DC '\\domainatHQ.ourdomain.local' in the specified domain
04/04/2019 18:06:20:688 NetpGetDnsHostName: Read NV Domain: ourdomain.local
04/04/2019 18:07:26:054 NetpGetComputerObjectDn: Unable to bind to DS on '\\domainatHQ.ourdomain.local': 0x6ba
04/04/2019 18:07:26:054 NetpSetDnsHostNameAndSpn: NetpGetComputerObjectDn failed: 0x6ba
04/04/2019 18:07:26:054 ldap_unbind status: 0x0
04/04/2019 18:07:26:054 NetpChangeMachineName: status of setting DnsHostName and SPN: 0x6ba




Viewing all articles
Browse latest Browse all 31638

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>