This discussion is archived
0 Replies Latest reply: Jan 3, 2012 3:29 AM by Mathew Abraham Mathew (user644198) RSS

Get the count of records in an OU

Mathew Abraham Mathew (user644198) Newbie
Currently Being Moderated
Hi All,
I want to get the count of records(user/groups) in an OU, the JNDI way?. How to get the count without issuing a JNDI search on cn=* on the OU and counting the search result.
Is there a direct way to get that, without a search and iteration as this is time consuming and costly if there are lot of records.

Thanks in advance.
M

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points