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

Re: slapadd won't add below-root-entry (ITS#3186)



Leif Johansson wrote:

> Hmm, I actually found another empty-DN-related bug (I believe) which
> causes the server to segfault. Using the ldif in ITS#3186 I run a
> ldapsearch -x -h localhost -b '' -s one 'objectClass=*' which gets
> me this (with max debugging):
> 
> 
> conn=0 op=1 SRCH base="" scope=1 deref=0 filter="(objectClass=*)"
> ==> limits_get: conn=0 op=1 dn="[anonymous]"
> <== limits_get: type=DN match=ANONYMOUS
> => bdb_search
> search_candidates: base="(null)" (0x00000001) scope=1
> => bdb_dn2idl( "(null)" )
> Segmentation fault
> 
> Is this also fixed or should I run gdb and report it?

It's not happening for me using CVS HEAD. Perhaps there's another patch 
in HEAD that isn't in your 2.2 build?

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support