[EMAIL PROTECTED] wrote: > I am looking for a solution when I need to get only no of entries > found after ldapsearch command.
If you want just the number of search results without actually receiving the results then this is not possible with LDAP. LDAP client tools which pretend to only count results also retrieve them. You can limit the amount of network bandwidth by querying results without the attributes of the entries. There is a solution for some special cases: Some LDAP servers are maintaining so-called operational attributes indicating e.g. the number of direct subordinates entries or the total of entries within a subtree. But this is vendor-specific. So which searches are you doing and which server is used? Ciao, Michael. -- Michael Ströder E-Mail: [EMAIL PROTECTED] http://www.stroeder.com _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
