Some LDAP search results missing

I have a Domino 8.5.1 server set up with directoy assistance and LDAP. In my DA setup i have an entry to share “names.nsf” as well as a second domino DB “test.nsf” (File Format R6 (43:0) if that matters), which is a personal database with ~1500 contacts.

Name Rules for both files are set to ///// and both are set to be available to LDAP clients as well as Notes Clients.

The problem i have is when doing an LDAP search via an ObjectClass field(“objectclass=InetOrgPerson” for example) it only returns entries from “names.nsf” but not from “test.nsf”. If i search for a particular entry via “cn=PERSON NAME” the search does return the entry from “test.nsf” as well, and it also shows the entry to have the “objectclass=InetOrgPerson” property (same for “objectclass=Person”, etc.)

After enabling LDAPDebug i found that when searching via “CN=PERSON NAME” the LDAP server uses a VIEW SEARCH, which yields the expected result. But if i search via objectclass the server uses an OBJECT CLASS SEARCH which turns up no hits in “test.nsf”.

Some examples from LDAP search:


ldapsearch.exe -h HOSTNAME -D USERNAME -w PASSWORD cn=“PERSON NAME”

This works (including authentication) and i get the complete entry for “PERSON NAME” including:

objectclass=dominoPerson

objectclass=inetOrgPerson

objectclass=organizationalPerson

objectclass=person

objectclass=top


ldapsearch.exe -h HOSTNAME -D USERNAME -w PASSWORD objectclass=“InetOrgPerson”

This only returns entries from “names.nsf” but none from “test.nsf”

I have looked far and wide for a solution but i haven’t found anything meaningful so far.

Subject: Personal Adressbook?

You used the template pernames.ntf for your 2. Adressbook? That’s not official supported and i think if you change the design to pubnames.ntf, you will get your search results.

Greetings

Chris