大网数据广告活动
域与目录服务

Refreshing a Dynamic Object

· 52CE 我爱测

A client can refresh the Time To Live (TTL) of a given directory entry to keep it alive in one of two ways Performing an LDAP update to the value of its entryTTL attribute before the entry is garbage collected.

A client can refresh the Time To Live (TTL) of a given directory entry to keep it alive in one of two ways:

  • Performing an LDAP update to the value of its entryTTL attribute before the entry is garbage collected. This method of refreshing a dynamic entry in the directory is an additional (optional) feature of Active Directory Domain Services that is not specified by RFC 2589.
  • Performing an LDAP extended operation with an OID of 1.3.6.1.4.1.1466.101.119.1 for TTL refresh, as stipulated in the RFC 2589. This OID is defined as LDAP_TTL_EXTENDED_OP_OID in WINLDAP.H.

Remark*: Dynamic objects are removed by Garbage Collector when they have expired, there is no phase of the object being a tombstone when it has expired. You need to be careful with the AD replication latency when you refresh objects. You have to ensure that the update to refresh the TTL arrives early enough so all replicas of the naming context (full and global catalog) see the refresh transaction before the object expires locally.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。