How To Determine whether the given LDAP server support persistent search

the persistent search draft version control 2.16.840.1.113730.3.4.3 is implemented by many of the LDAP servers including

  • IBM(Tivoli Directory)
  • Novell(eDirectory)
  • Sun(DSEE)
  • OpenDS(OpenDS Directory Server 1.0.0-build007)
  • Fedora-Directory/1.0.4 B2006.312.1539

perform the following search for the persistent search control 2.16.840.1.113730.3.4.3

ldapsearch -p 389 -h ds_host -s base -b '' "objectclass=\*" supportedControl | grep 2.16.840.1.113730.3.4.3

Active Directory

AD implements in a different form using the LDAP control 1.2.840.113556.1.4.528

ldapsearch  -h AD_HOST -p PORT  -D"CN=Administrator,CN=Users,dc=test,dc=com" -w secret12 -s base  -b '' "objectclass=\*" supportedControl | grep 1.2.840.113556.1.4.528