netbsd# /usr/bin/ldapsearch -x -H ldapi:// -b '' -s base -LLL supportedSASLMechanisms
dn:

netbsd# /usr/pkg/bin/ldapsearch  -x -H ldapi:// -b '' -s base -LLL supportedSASLMechanisms
dn:

netbsd#




Im building from pkgsrc so my whole build tree gets downloaded everytime to everything 100% is getting compiled again.


On Mon, Sep 15, 2008 at 3:01 PM, Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote:
David Markey writes:
> Im afraid the outcome is the exact same
> netbsd# ldapsearch -x -H ldapi:// -b '' -s base -LLL supportedSASLMechanisms
> dn:

Looking back at this path a little...

Not sure if this is needed with NetBSD, but: Is the ldapsearch you use
from $PATH the same as the one you compiled with -D_NETBSD_SOURCE?

Does include/portable.h define HAVE_SYS_UN_H?  If not, config.log
hopefully shows why.

If yes, does LOCAL_CREDS get defined when you compile daemon.c?  Try
e.g.
 cd servers/slapd
 rm daemon.o
 make daemon.o
and run the resulting compilation command without '-c -o daemon.o' and
see if the LOCAL_CREDS part gets #ifdeffed out.

--
Hallvard