How to check ADLDS replication status with custom host/port

If you want to check the replication status of an ADLDS (Active Directory Lightweight Directory Services) instance, you can use the command repadmin.

By default all commands issued to repadmin will use the default LDAP ports (389/636). If your ADLDS instance uses different ports, you can add a parameter to the repadmin command.

1. Check replication status summary for ADLDS running on a custom port

To view the replication summary, open up a Powershell window as administrator, and issue the following command.

Example we are using here is: host “localhost” with ADLDS port “1234”. Change this to your configuration.

repadmin /replsummary localhost:1234

Example output:

PS C:\Windows\system32> repadmin /replsummary localhost:1234
Replication Summary Start Time: 2022-01-01 00:00:01

Beginning data collection for replication summary, this may take awhile:
  ....


Source DSA              largest delta    fails/total %%   error
 windowsservername1$adlds           04m:31s    0 /   3    0


Destination DSA             largest delta    fails/total %%   error
 windowsservername2$adlds           04m:31s    0 /   3    0

2. Show replication (different output)

You can also use the following command “/showrepl” to get a different replication status output with servernames:

PS C:\Windows\system32> repadmin /showrepl localhost:1234

This gives the following output:

Default-First-Site-Name\SERVERNAME$adldsName
DSA Options: (none)
Site Options: (none)
DSA object GUID: 3f73e365-0c53-4f88-95b7-ea23ae6c3ba1
DSA invocationID: 6107cd8b-a301-4d89-8573-c54a4c03cff2

==== INBOUND NEIGHBORS ======================================

CN=Configuration,CN={8FAC00DB-99CA-4BCD-8208-61D6C020728E}
    Default-First-Site-Name\SERVERNAME2$adldsName via RPC
        DSA object GUID: 5e99fab7-6444-4916-abf8-47127d03ea76
        Last attempt @ 2022-01-01 13:22:47 was successful.

CN=Schema,CN=Configuration,CN={8FAC00DB-99CA-4BCD-8308-61C6C020728E}
    Default-First-Site-Name\SERVERNAME2$adldsName via RPC
        DSA object GUID: 5e99fab7-6444-4916-abf8-47127d03ea76
        Last attempt @ 2022-01-01 13:22:47 was successful.

CN=adldsName
    Default-First-Site-Name\SERVERNAME2$adldsName via RPC
        DSA object GUID: 5e99fab7-6444-4916-abf8-47127d03ea76
        Last attempt @ 2022-01-01 13:22:47 was successful.

By Leendert de Borst

Freelance software architect with 10+ years of experience. Expert in translating complex technical problems into creative & simple solutions.

Leave a comment

Your email address will not be published. Required fields are marked *