LDAP Controls and Session Support Home
LDAP Controls and Session Support

A DSML session is typically used to support LDAP controls and extended operations. The session is required to handle the multiple request-response communications.

To help determine when DSML sessions are required, LDAP controls and extended operations are categorized into four types:

  • Session support required

    For example, a page size control or VLV control.

  • Stateless controls

    For example, tombstone, sort, or dirsync controls.

  • Unknown controls

    Because the LDAP control mechanism is extensible, you can create a new LDAP control or an extended operation that is not recognized by the DSML V2 server.

  • Forbidden controls

    Controls not supported by the server.

The following table lists behavior that can be expected in session and stateless requests.

Control typeSession requestStateless request
Session support required controls Allowed.Forbidden. Error response will be generated.
Stateless controlsAllowed. Behavior should be identical to stateless.Allowed.
Unknown controls Allowed.Forbidden. Error response will be generated.
Forbidden controls Forbidden. Error response will be generated.Forbidden. Error response will be generated.

LDAP Controls and Extended Operations supported by Active Directory

The following table lists the set of LDAP controls and extended operations that are currently supported in Active Directory.

LDAP OIDNameDescriptionControl type
1.2.840.113556.1.4.319LDAP_PAGED_RESULT_OID_STRINGPaged search controlSession required
1.2.840.113556.1.4.417LDAP_SERVER_SHOW_DELETED_OIDShow deleted controlStateless
1.2.840.113556.1.4.473LDAP_SERVER_SORT_OIDServer sort controlStateless
1.2.840.113556.1.4.521LDAP_SERVER_CROSSDOM_MOVE_TARGET_OIDCross-domain move controlStateless
1.2.840.113556.1.4.528LDAP_SERVER_NOTIFICATION_OIDServer search notification controlForbidden
1.2.840.113556.1.4.529LDAP_SERVER_EXTENDED_DN_OIDExtended DN controlStateless
1.2.840.113556.1.4.619LDAP_SERVER_LAZY_COMMIT_OIDLazy commit controlStateless
1.2.840.113556.1.4.801LDAP_SERVER_SD_FLAGS_OIDSecurity descriptor flags controlStateless
1.2.840.113556.1.4.805LDAP_SERVER_TREE_DELETE_OIDTree delete controlStateless
1.2.840.113556.1.4.841LDAP_SERVER_DIRSYNC_OIDDirectory synchronization controlStateless
1.2.840.113556.1.4.970NoneGet stats controlStateless
1.2.840.113556.1.4.1338LDAP_SERVER_VERIFY_NAME_OIDVerify name controlStateless
1.2.840.113556.1.4.1339LDAP_SERVER_DOMAIN_SCOPE_OIDDomain scope controlStateless
1.2.840.113556.1.4.1340LDAP_SERVER_SEARCH_OPTIONS_OIDSearch options controlStateless
1.2.840.113556.1.4.1413LDAP_SERVER_PERMISSIVE_MODIFY_OIDPermissive modify controlStateless
1.2.840.113556.1.4.1504LDAP_SERVER_ASQ_OIDAttribute scoped query controlStateless
1.2.840.113556.1.4.1781LDAP_SERVER_FAST_BIND_OIDFast concurrent bind extended operationForbidden
1.3.6.1.4.1.1466.101.119.1NoneTTL refresh extended operationStateless
1.3.6.1.4.1.1466.20037LDAP_START_TLS_OIDStart TLS extended operationForbidden
2.16.840.1.113730.3.4.9LDAP_CONTROL_VLVREQUESTVLV request controlSession required


Send comments about this topic to Microsoft

Build date: 1/15/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View