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

Re: (ITS#6030) slapd segfaults when loading already present module



Luca Scamoni wrote:
> Howard Chu ha scritto:
>> HEAD has been changed to silently ignore these cases, please test.
>>
>> (I guess we could log something at LDAP_DEBUG_CONFIG level but that
>> seems unnecessary at the moment.)
>>
> thanks,
> now it doesn't segfaults anymore but something like:
> modulepath /usr/local/openldap/sbin
> moduleload syncprov.la
> moduleload back_hdb.la
> moduleload syncprov.la
>
> becomes:
> dn: cn=module{0},cn=config
> objectClass: olcModuleList
> cn: module{0}
> olcModulePath: /usr/local/openldap/sbin
> olcModuleLoad: {0}syncprov.la
> olcModuleLoad: {1}back_hdb.la
> olcModuleLoad: {2}syncprov.la
>
> any chance this can cause problems?

It's a bit redundant. Perhaps we should fail it instead.

> about logging I vote for it
>
>
> Ing. Luca Scamoni
> Responsabile Ricerca e Sviluppo
>
> SysNet s.r.l.
> via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> -----------------------------------
> Office:  +39 0382 573859 (137)
> Mobile:  +39 347 1014425
> Fax:     +39 0382 476497
> Email:   luca.scamoni@sys-net.it
> -----------------------------------
>
>


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