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

Re: (ITS#6740) syncrepl/--disable-rewrite dependency

h.b.furuseth@usit.uio.no wrote:
> Full_Name: Hallvard B Furuseth
> Version: HEAD
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> Submitted by: hallvard
> configure should mention syncrepl here:
>      --enable-rewrite  enable DN rewriting in back-ldap and rwm overlay
> test059-slave-config fails with --disable-rewrite. Testrun/test.out says
>      parse_syncrepl_line:
>      unable to parse "suffixmassage=cn=schema,cn=config,cn=slave"

Ando wrote:
>> What's special about DN rewriting so it has a configure option
>> anyway?  It doesn't disable building of libraries/librewrite.
> It used to, as far as I remember.  I remember something about performing
> simple suffixmassage when librewrite is not built.  In any case I agree
> that given the widespread usage of rewrite capabilities (authz regexp, for
> example) not building librewrite is somehow pointless.

Agreed. I'm fine with dropping this configure switch and unifdef'ing it so 
that librewrite is always used.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/