Issue 543 - Search returns no results unless filter is objectclass
Summary: Search returns no results unless filter is objectclass
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-24 09:22 UTC by yshimoni@photonet.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description yshimoni@photonet.com 2000-05-24 09:22:35 UTC
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.

Comment 1 Kurt Zeilenga 2000-05-24 14:02:52 UTC
changed notes
changed state Open to Closed
Comment 2 OpenLDAP project 2014-08-01 21:06:10 UTC
close, user error