Operating System - HP-UX
1834394 Members
1740 Online
110066 Solutions
New Discussion

Re: retrieve the number of records in ldap database

 
Guus van Luijn
Occasional Advisor

retrieve the number of records in ldap database

How do I retrieve the number of records in ldap database?
3 REPLIES 3
Peter Godron
Honored Contributor

Re: retrieve the number of records in ldap database

Hi,
have you checked out perl-ldap module?

http://www.developer.com/lang/php/article.php/10941_3106601_1 gives some code examples.
Guus van Luijn
Occasional Advisor

Re: retrieve the number of records in ldap database

Hi,

Thanks for the reply, but I'm not a (perl) programmer. I just need to know how many records there are in a certain database.

Guus
Steven E. Protter
Exalted Contributor

Re: retrieve the number of records in ldap database

Shalom,

A common access method uses the ldapsearch command in a perl script.

Its not necessary to be a perl developer to look at some code and get what you need.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com