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

Search returns no results unless filter is objectclass (ITS#543)



Full_Name: Yishai Shimoni
Version: 
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.179.58.174)


I have entered data into the server using the following ldif file:

dn: o=picturevision.com
objectclass: top
objectclass: organization
o: picturevision.com

dn: ou=pricesheet,o=picturevision.com
objectclass: organizationalUnit
objectclass: top
ou: pricesheet

dn: labName=shimoni,ou=pricesheet,o=picturevision.com
objectclass: lab
objectclass: top
labname: shimoni

dn: groupName=shimoni,labName=shimoni,ou=pricesheet,o=picturevision.com
objectclass: billingGroup
objectclass: top
groupName: shimoni
labName: shimoni
defaultPriceSheet: onlineShirts

Serching for "labName=shimoni" or "objectclass=*" worked fine at first.
Then I killed the server and started it again. This time, the only way I got to
see the data was by using the exact objectclass (ie - objectclass=* did not
work, only objectclass=top).  Moreover, if I tried "objectclass=top,
labName=shimoni" I got no records.

I have tried using issue report #189 and erased the blanks between dn entries,
tried adding indexes, but again and again it worked as long as I didn't kill and
restart the server.