Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the count of Users in LDAP Server

807573Mar 29 2007 — edited Mar 30 2007
Hi,

We want to count the Number of Users available in Sun ONE 5.2 directory server (on Solaris).

As of now, I can goto each node and check the count from the Directory Server Admin Console.

Is there any way to write a command/script to retrieve the count? I am also interested in getting the count for an individual Node where users are stored.

For example, our users are stored in:
ou=people,o=staff,c=taiwan,o=apac,dc=company,dc=com
ou=people,o=customers,c=taiwan,o=apac,dc=company,dc=com

I want to find out the # of Taiwan Staff, # of Taiwan Customers etc...

Later, I also want to extend this to get Count of Groups created in LDAP :)

Thanks,
Kamlesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2007
Added on Mar 29 2007
4 comments
2,647 views