All,
I'm trying to implement a very basic search for my new partition type. I'm returning a SingletonEnumeration with a SearchResult embedded within it. The contents of the SearchResult match what gets returned when I click on o=sevenSeas using LDAP Studio. So, I'm just trying to return attributes relating to the root node of my partition. The return of this BTreeSearchResult name = o=sevenSeas, and entry = Attribute id : 'dc', Values : ['example'] Attribute id : 'objectclass', Values : ['top', 'organization', 'extensibleObject'] from JdbmPartition::search prompts a call to JdbmPartition::lookup with this context opContext = LookupContext for DN 'o=sevenSeas', attributes : <collectiveAttributeSubentries>. When I return this SearchResult name = o=polycom, and entry = Attribute id : 'dc', Values : ['example'] Attribute id : 'objectclass', Values : ['top', 'organization', 'extensibleObject'] >From My Partition::search I end up with a call to hasEntry with this context opContext = EntryContext for DN 'o=polycom' and I get an error from LDAP Studio LDAP: error code 36 - failed on search operation. Unexpected exception. I'm obviously doing something wrong in my return from my partition's search entry point, but I haven't been able to track down what it is. Does anyone have any idea what I'm missing? Sincerely, Dan Barber
