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.<br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 10:59 AM, Rocio Quirantes <span dir="ltr"><<a href="mailto:rquirantes@cica.es">rquirantes@cica.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I,m not sure, but if you perform a search that returns all entries it<br>
will show you the number.<br>
For example:<br>
In the command line:<br>
<br>
ldapsearch -LLL -x -D bindDn -W -H ldaps://<a href="http://ldap.example.com:636" target="_blank">ldap.example.com:636</a> -b<br>
ou=users, dc=example,dc=com objectClass=*<br>
<br>
in the ldap log you get:<br>
<br>
conn=2853323 fd=276 ACCEPT from IP=<a href="http://150.214.4.136:60252" target="_blank">150.214.4.136:60252</a> (IP=<a href="http://0.0.0.0:636" target="_blank">0.0.0.0:636</a>)<br>
conn=2853323 fd=276 TLS established tls_ssf=256 ssf=256<br>
conn=2853323 op=0 BIND dn="cn=Manager,dc=cica,dc=es" method=128<br>
conn=2853323 op=0 BIND dn="cn=Manager,dc=cica,dc=es" mech=SIMPLE ssf=0<br>
conn=2853323 op=0 RESULT tag=97 err=0 text=<br>
conn=2853323 op=1 SRCH base="ou=cica,ou=users,ou=cuentas,dc=cica,dc=es"<br>
scope=2 deref=0 filter="(objectClass=*)"<br>
conn=2853323 op=1 SEARCH RESULT tag=101 err=0 nentries=72 text=<br>
<br>
As you can see the operation returns 72 entries.<br>
It is not a very clean way but it is the only I could think about<br>
Hope it would help you<br>
<br>
Rocio<br>
<br>
Branimir escribió:<br>
<div><div></div><div class="h5">> Branimir wrote:<br>
>> Hi list,<br>
>><br>
>> can someone tell me where to find the total number of LDAP entries<br>
>> stored in FDC? I looked up in Console "Status" tab but I could not<br>
>> find the number.<br>
>><br>
>> If someone can give me a hint...<br>
>><br>
>> Thank you in advance!<br>
>><br>
><br>
> Hi,<br>
><br>
> so there is no way to find the number of total LDAP entries stored in<br>
> FDC?<br>
><br>
> Thanks!<br>
><br>
> Best regards,<br>
><br>
> Branimir<br>
><br>
> --<br>
> Fedora-directory-users mailing list<br>
> <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
><br>
><br>
<br>
</div></div>--<br>
Rocio Quirantes Rodal<br>
Área de Seguridad Informática<br>
Centro Informático Científico de Andalucía (CICA)<br>
Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)<br>
Tfno.: +34 955 056 648 / +34 955 056 600 / FAX: +34 955 056 650<br>
Consejería de Innovación, Ciencia y Empresa<br>
Junta de Andalucía<br>
--------------------------------------------------<br>
Este mensaje esta firmado digitalmente. Para poder<br>
reconocer la firma desde su cliente debera tener<br>
instalado el certificado raiz de la CA del CICA en<br>
el mismo. Puede descargarlo desde:<br>
<br>
<a href="http://pki.cica.es/cacert/" target="_blank">http://pki.cica.es/cacert/</a><br>
--------------------------------------------------<br>
<br>
<br>
<br>--<br>
Fedora-directory-users mailing list<br>
<a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
<br></blockquote></div><br>