I am not aware of any hard-coded length limits in the Mozilla LDAP SDKs. 
     I am not sure about all of the servers, but I would not be 
surprised if you encountered a problem with hundreds of values.  I would 
design the application so it can be configured to use a series of search 
filters (just in case).

-- 
Mark Smith
Pearl Crescent
http://pearlcrescent.com/


RamaKrishna Narla wrote:
> Hi All,
> 
> We are using Mozilla LDAP SDK 5.12 version in our application. And we
> support multiple Directory Servers like AD, iPlanet, OID, NDS and so
> on.
> 
> Is there any limitation in iPlanet Directory Server / Mozilla LDAP SDK
> on LDAP search filter length?
> That is if I use a filter from code like:
> ldap:///base??sub?(|(cn=v1)(cn=v2)(cn=v3)....(cn=vN))
> where the number of values involved in ldap search is decided at
> runtime, may I run into any issues when its length exceeds certain
> limit?
> 
> The number of values in some of the run time cases can be even in
> hundreds for us. So, I would like to know if there is any limitation
> in Mozilla LDAP SDK / iPlanet Directory Server on this.
> 
> If Mozilla LDAP SDK is not having any such limitation and if any of
> the Directory Servers have such limitation on length, then is Mozilla
> LDAP SDK takes care of handling such scenarios by breaking up the
> filter or not?
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to