---
title: Viewing the LDAP changelog parameters in the Root DSE
description: Reference for the PingDirectory LDAP changelog parameters in the Root DSE, including change number attributes.
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_view_ldap_changelog_parms_root_dse
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_view_ldap_changelog_parms_root_dse.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
superseded_by: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_view_ldap_changelog_parms_root_dse.html
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
---

# Viewing the LDAP changelog parameters in the Root DSE

The Root DSE is a special entry that holds operational information about the server.

## About this task

The entry provides information about the LDAP controls, extended operations, and Simple Authentication and Security Layer (SASL) mechanisms available in the server as well as the state of the data within the changelog. For changelog parameters, the attributes of interest include:

* `firstChangeNumber`

  Change number for the first (oldest) change record contained in the LDAP changelog.

* `lastChangeNumber`

  Change number for the last (most recent) change record contained in the LDAP changelog.

* `lastPurgedChangeNumber`

  Change number for the last change that was purged from the LDAP changelog. It can be 0 if no changes have yet been purged.

* `firstReplicaChange`

  Information about the first (oldest) change record for a change received from the specified replica. This is a multi-valued attribute and should include a value for each server in the replication topology.

* `lastReplicaChange`

  Information about the last (most recent) change record for a change received from the specified replica.

The `firstReplicaChange` and `lastReplicaChange` attributes use the following syntax.

```
serverID:CSN:changeNumber
```

Where:

* `serverID`

  Specifies the unique identifier for the server updating the change log.

* `CSN`

  Specifies the Change Sequence Number, which is the time when the update was made to the given replica.

* `changeNumber`

  Specifies the order of the change that is logged to the LDAP changelog.

The `firstReplicaChange` and `lastReplicaChange` attributes can be used to correlate information in the local LDAP changelog with data in the LDAP changelog of other servers in the replication topology. The order of the individual changes in the LDAP changelog can vary between servers based on the order in which they were received from a replica.

## Steps

* Use `ldapsearch` to view the Root DSE.

  ### Example:

  ```shell
  $ bin/ldapsearch --baseDN "" --searchScope base "(objectclass=*)" "+"
  ```
