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">&lt;<a href="mailto:rquirantes@cica.es">rquirantes@cica.es</a>&gt;</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=&quot;cn=Manager,dc=cica,dc=es&quot; method=128<br>
conn=2853323 op=0 BIND dn=&quot;cn=Manager,dc=cica,dc=es&quot; mech=SIMPLE ssf=0<br>
conn=2853323 op=0 RESULT tag=97 err=0 text=<br>
conn=2853323 op=1 SRCH base=&quot;ou=cica,ou=users,ou=cuentas,dc=cica,dc=es&quot;<br>
scope=2 deref=0 filter=&quot;(objectClass=*)&quot;<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">&gt; Branimir wrote:<br>
&gt;&gt; Hi list,<br>
&gt;&gt;<br>
&gt;&gt; can someone tell me where to find the total number of LDAP entries<br>
&gt;&gt; stored in FDC? I looked up in Console &quot;Status&quot; tab but I could not<br>
&gt;&gt; find the number.<br>
&gt;&gt;<br>
&gt;&gt; If someone can give me a hint...<br>
&gt;&gt;<br>
&gt;&gt; Thank you in advance!<br>
&gt;&gt;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; so there is no way to find the number of total LDAP entries stored in<br>
&gt; FDC?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Branimir<br>
&gt;<br>
&gt; --<br>
&gt; Fedora-directory-users mailing list<br>
&gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a><br>
&gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>
&gt;<br>
&gt;<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>