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

Re: Segmentaion fault with ldap backend (ITS#3021)

Your help is very appreciated!  I tried google with "ldap backend" and some 
other keywords, but not "back-ldap".  I do confirm this is an duplicated ITS 
and will use the lastest stable version (2.1.25) and patch the related files.

Thanks again!


On Tuesday 16 March 2004 22:08, Pierangelo Masarati wrote:
> > No,  I didn't enable rewrite.  After rebuild with --enable-rewrite, the
> > ldap  backend works fine.  (Although I'm stuck by some other problems
> > then. :p)
> >
> > I tried to compile 2.1.27 without --enable-rewrite, this problem won't
> > happen.   Then I double checked with 2.1.25, it does segmentation fault.
> If I understand this correctly, there is no problem either with 2.1.25 and
> --enable-rewrite or with 2.1.27 regardless of what rewrite method you use
> (without rewrite suffix massaging is essentially based on string
> comparison).
> I note that the only differences between 2.1.25 and 2.1.27 refer to suffix
> massaging without rewrite; in 2.1.26 changelog you can find
>     Fixed back-ldap suffix massage when --enable-rewrite=no (ITS#2923)
> so I assume your problem was a duplicate of ITS#2923 (funny that I fixed
> that nut I didn't remember about it).  If you confirm this, you can either
> upgrade to 2.1.27 or forward port the patches:
> cvs -z3 diff -u -r OPENLDAP_REL_ENG_2_1_25 -r OPENLDAP_REL_ENG_2_1_27 \
>     servers/slapd/back-ldap/init.c  servers/slapd/back-ldap/search.c
> If you confirm, I'll close this ITS as duplicate of ITS#2923; for your
> other problems, please feel free to ask on the openldap-software mailing
> list, or open an ITS if you think they are related to a bug.
> p.