The search might not be a good way to do it if the number of entries exceeded the number you have set in the size limit in the Fedora LDAP.

On Tue, Mar 10, 2009 at 10:59 AM, Rocio Quirantes <rquirantes@cica.es> wrote:
I,m not sure, but if you perform a search that returns all entries it
will show you the number.
For example:
In the command line:

ldapsearch -LLL -x -D bindDn -W -H ldaps://ldap.example.com:636 -b
ou=users, dc=example,dc=com objectClass=*

in the ldap log you get:

conn=2853323 fd=276 ACCEPT from IP=150.214.4.136:60252 (IP=0.0.0.0:636)
conn=2853323 fd=276 TLS established tls_ssf=256 ssf=256
conn=2853323 op=0 BIND dn="cn=Manager,dc=cica,dc=es" method=128
conn=2853323 op=0 BIND dn="cn=Manager,dc=cica,dc=es" mech=SIMPLE ssf=0
conn=2853323 op=0 RESULT tag=97 err=0 text=
conn=2853323 op=1 SRCH base="ou=cica,ou=users,ou=cuentas,dc=cica,dc=es"
scope=2 deref=0 filter="(objectClass=*)"
conn=2853323 op=1 SEARCH RESULT tag=101 err=0 nentries=72 text=

As you can see the operation returns 72 entries.
It is not a very clean way but it is the only I could think about
Hope it would help you

Rocio

Branimir escribió:
> Branimir wrote:
>> Hi list,
>>
>> can someone tell me where to find the total number of LDAP entries
>> stored in FDC? I looked up in Console "Status" tab but I could not
>> find the number.
>>
>> If someone can give me a hint...
>>
>> Thank you in advance!
>>
>
> Hi,
>
> so there is no way to find the number of total LDAP entries stored in
> FDC?
>
> Thanks!
>
> Best regards,
>
> Branimir
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>

--
Rocio Quirantes Rodal
Área de Seguridad Informática
Centro Informático Científico de Andalucía (CICA)
Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)
Tfno.: +34 955 056 648 / +34 955 056 600 / FAX: +34 955 056 650
Consejería de Innovación, Ciencia y Empresa
Junta de Andalucía
--------------------------------------------------
Este mensaje esta firmado digitalmente. Para poder
reconocer la firma desde su cliente debera tener
instalado el certificado raiz de la CA del CICA en
el mismo. Puede descargarlo desde:

http://pki.cica.es/cacert/
--------------------------------------------------



--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users