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

Re: (ITS#7739) Include of include badly handled while converting from slapd.conf to slapd.d



Raphaël Ouazana-Sustowski wrote:
> Hi,
>
> Le 04/11/2013 17:06, Howard Chu a écrit :
>> raphael.ouazana@linagora.com wrote:
>>> Full_Name: Raphael Ouazana
>>> Version: 2.4.37
>>> OS: Linux
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (88.173.78.196)
>>>
>>>
>>> Hi,
>>>
>>> If I have for example a main slapd.conf with:
>>> include <path>schema.conf
>>>
>>> And a simple schema.conf:
>>> include <path>core.schema
>>> include <path>cosine.schema
>>> include <path>inetorgperson.schema
>>>
>>> When I try to convert slapd.conf to slapd.d with slaptest, the
>>> resulting
>>> configuration is incorrect: the schema file are not included.
>>>
>>
>> Try again, using a different name than "schema.conf"
>
> It doesn't work neither.
>
> Steps to reproduce:
>
> 1. basic slapd.conf, but:
>     a. replace include <schemapath>core.schema by include
> <configpath>morethings.conf
>     b. add index sn eq at the end
>
> 2. create <configpath>morethings.conf including only
> <schemapath>core.schema

Fixed now in master.

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