ldap4net icon indicating copy to clipboard operation
ldap4net copied to clipboard

Optimize RootDse search and add cancellation tokens to async search extensions.

Open INEL-IT opened this issue 3 years ago • 1 comments

Get RootDse entry with all attributes in a single request as per LDAP RFC standard and add cancellation tokens to async search extensions.

INEL-IT avatar Nov 24 '22 14:11 INEL-IT

Changed so both the wildcard selectors for user and operation attributes as well as an explicit list of most common attributes (both per RFC as well as common vendors like MS, OpenLdap, etc.) is passed to a single search. This seems to work in all situations as per RFC any duplicated attributes should be ignored. Some references: Retrieving all attributes: https://ldapwiki.com/wiki/Retrieving%20All%20Attributes Determining vendor and version: https://ldapwiki.com/wiki/Determine%20LDAP%20Server%20Vendor

INEL-IT avatar Dec 01 '22 12:12 INEL-IT