[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [?] Filter Question



Hi Walter
that means that your ldapsearch is correct (err=0) but there are no result records (nentries=0)


suomi

Walter Vendraminetto wrote:

Does anyone knows why it happens that when I issue the command:

ldapsearch -x "(&(uidNumber>=1000)(uidNUmber<2000))"

no entry is returned, the ret code is 0 (Success) and in the log occur:
----------------------------------------------------------------------
conn=0 fd=12 ACCEPT from IP=127.0.0.1:46607 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
deferring operation
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=univr,dc=it" scope=2
filter="(&(?=undefined)(?=undefined))"
conn=0 op=2 UNBIND
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=0 fd=12 closed
------------------------------------------------------------------------

Indexes for uidNumber is set to eq,pres and db files have correct rights
(ldap:ldap).

Thanks to anyone willing to help me.
Walter






Walter Vendraminetto - Research Consultant --------------------------------------------------------------------- Centro di Competenza per la Progettazione di Sistemi Dedicati c/o Dipartimento di Informatica - Universita` di Verona Strada le Grazie, 15 - 37134 Verona (Italy) --------------------------------------------------------------------- email: vendra@sci.univr.it tel: +39-045-802-7062 fax: +39-045-802-7068 ---------------------------------------------------------------------