[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unix socket auth(EXTERNAL) not working in netbsd



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