Matthias Scheler wrote:
On Wed, Sep 17, 2008 at 09:38:48AM +1000, Sarton O'Brien wrote:Which versions of the "db4" and "openldap-server" package are you using?The latest from pkgsrc.I assume that's "db4-4.7.25.1" and "openldap-server-2.4.11nb2".
Sorry, you're right, I should have included the versions. My bad. Yes, they are the correct versions.
Everything is current/head amd64.I briefly tested that version under NetBSD/amd64 4.99.72 and it seemed to work. Could you please change these two lines in "pkgsrc/database/openldap-server/options.mk" ... . if !empty(MACHINE_PLATFORM:MNetBSD-[0-4].*-*) && \ empty(MACHINE_PLATFORM:MNetBSD-4.99.*-*) ... to this ... . if !empty(MACHINE_PLATFORM:MNetBSD-[0-4].*-*) ..., rebuilt the "openldap-server" package and test it afterwards?
OK, did that, removed the package and then did a make update. The symptoms are the same.
I did notice however that the problem only occurs if there is data in the database when invoking ldapsearch. Previously postfix was hitting it so even when empty the problem was occurring.
You also have to make sure you are querying with /usr/pkg/bin/ldapsearch as I seem to get mixed results using both.
I have been able to replicate this issue on a completely unrelated system that previously had no ldap. UnfortunatelyI can't share the data with you :(
Sarton