Subject: Re: anyone using slapd monitor backend ?
To: NetBSD Current Users <current-users@netbsd.org>
From: Dick Davies <rasputnik@hellooperator.net>
List: current-users
Date: 11/22/2004 08:47:39
* Dick Davies <rasputnik@hellooperator.net> [1146 20:46]:
> 
> just wanted to know if it works for anyone else before I send-pr.
> 
> If I just 
> 
> echo 'database monitor' >> slapd.conf 
> 
> and restart, I can crash slapd by just running
> 
> ldapsearch -b 'cn=monitor'
> 
> I'm guessing it's a pthread thing again, but my system is about a year
> old (just security patches applied) so that may be why.

For the record, it *is* a pthread problem, and setting 

PTHREAD_DIAGASSERT=A

in /etc/rc.d/slapd

fixes the crash.

-- 
You were doing well until everyone died - God
Rasputin :: Jack of All Trades - Master of Nuns