Search code examples
active-directoryldap

What is the LDAP filter string length limit in Active Directory?


Can anyone point me to a resource that defines the maximum allowable length of the LDAP filter string in Active Directory?


Solution

  • According to Technet: How Active Directory Searches Work, the maximum LDAP request size that the server attempts to process defaults to 10,485,760 bytes.

    If the server receives a request that is larger than this value, it closes the connection. Hope that helps.