Hi Ulrich,

2017-11-14 12:40 GMT+01:00 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>:
>>> Karsten Heymann <karsten.heymann@gmail.com> schrieb:
> is there a more efficient way to count how many entries a ldap database has
> than
>
> slapcat -b <suffix> | grep ^dn: | wc -l

Here olmBDBDNCache from  cn=Database 1,cn=Databases,cn=Monitor seems to be close to the number (10762 vs. 10770).

I guess you are using the bdb/hdb engine? I'm using mdb and I don't have that attribute.

+Karsten