Replication Error 1326 and Event ID 1265 Message "Unknown User Name or Bad Password" (816577)
The information in this article applies to:
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
For a Microsoft Windows 2000 version of this article, see 328701.
SYMPTOMS
A Windows Server 2003 domain controller cannot replicate the configuration or the schema partitions with replication partners that belong to another domain of the forest. If the domain controller is a global catalog server, it also cannot replicate the other domain partitions with these replication partners. Additionally, an event similar to the following is logged every 15 minutes in the Directory Services event log:
Event ID: 1265 Source: NTDS KCC The attempt to establish a replication link with parameters Partition: CN=Schema,CN=Configuration,DC=mydomain,DC=com Source DSA DN: CN=NTDS Settings,CN=MYDC1,CN=Servers,CN=MYSITE,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM Source DSA Address: e7453dd3-63b9-4ea1-ab78-e0f16115c84d._msdcs.mydomain.com Inter-site Transport (if any): failed with the following status: Logon failure: unknown user name or bad password. The record data is the status code. This operation will be retried.
Data 0000052eThe following event is also logged regularly in the System event log:
Event ID: 63 Source: W32Time The time service cannot provide secure (signed) time to client x.x.x.x because the attempt to validate its computer account failed with error 1317. Falling back to insecure (unsigned) time for this client.If you run the repadmin/showreps command on MYDC1, you may receive output similar to the following: CN=Configuration,DC=mydomain,DC=com
MySite\MYDC2 via RPC
objectGuid: a6999e16-99b5-432f-9bc5-3eecf5dc192f
Last attempt @ 2003-03-28 00:05.30 failed, result 1326:
Logon failure: unknown user name or bad password.
Last success @ 2003-03-27 23:15.14.
3 consecutive failure(s).
If you run the dcdiag command on MYDC1, you may receive output similar to the following: DC Diagnosis
[Replications Check,DC-LV1] A recent replication attempt failed: From MYDC2 to MYDC1
Naming Context: CN=Configuration,DC=mydomain,DC=com
The replication generated an error (1326): Logon failure: unknown user name or bad password.
The failure occurred at 2003-03-28 00:09.09.
The last success occurred at 2003-03-27 23:15.14.
3 failures have occurred since the last success.
Kerberos Error.
The machine account is not present, or does not match on the destination, source or KDC servers.
Verify domain partition of KDC is in sync with rest of enterprise.
The tool repadmin/syncall can be used for this purpose.
... CAUSEThis problem can occur when the password of the inter-domain trust account is not synchronized on both sides of the trust relationship.
RESOLUTIONTo resolve this problem, reset the trust relationship.
Note
In the sample messages and the examples presented in this article, MYDC1 is a domain controller that belongs to the mydomain.com domain. MYDC2 is a replication partner of MYDC1 that belongs to the subdom.mydomain.com domain. Step 1: Install Windows Support ToolsTo install Windows Support Tools, follow these steps:
- Insert the CD for Windows Server 2003 in the CD-ROM drive.
- Click Start, click Run, type c:\support\tools\suptools.msi, and then click OK.
- Follow the online instructions to complete the installation of Windows Support Tools.
Step 2: Reset the Trust RelationshipTo reset the trust relationship, follow these steps: - Click Start, click Run, type cmd in the Open box, and then click OK.
- Type netdom trust mydomain /domain:subdom /reset, and then press ENTER.
You receive the following message:
Resetting the trust passwords between mydomain and subdom. The trust between mydomain and subdom has been successfully reset and verified. The command completed successfully. Note mydomain is the trusting domain, and subdom is the trusted domain.
Step 3: Verify That Replication Occurs CorrectlyYou can use the Repadmin or Replmon replication tools to verify that replication occurs correctly. For detailed information about the syntax of the repadmin command, type repadmin /? at the command line, and then press ENTER. To verify that replication occurs correctly if you are using the Repadmin tool, do the following: - Click Start, click Run, and type repadmin /replicate MYDC1 MYDC2NamingContext, and then click OK.
Note MYDC1 is the destination domain controller and MYDC2 is the source domain controller. STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/19/2003 |
---|
Keywords: | kbprb kbnofix KB816577 |
---|
|