Re: Total number of LDAP entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20090310/a857f711/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux