[Pkg-openldap-devel] Bug#603544: Migration to slapd.d fails with: config_build_entry: build "cn={10}gosa+samba3" failed: "(null)"

Ryan Tandy ryan at nardis.ca
Mon Sep 8 22:42:21 UTC 2014


On 15/11/10 12:25 AM, Frederik Himpe wrote:
> Migrating slapd.conf file (/etc/ldap/slapd.conf) to slapd.d failed with the following
> error while running slaptest:
>      config_build_entry: build "cn={10}gosa+samba3" failed: "(null)"
>      backend_startup_one (type=config, suffix="cn=config"): bi_db_open failed! (-1)
>      slap_startup failed (test would succeed using the -u switch)

In wheezy and later, this became more severe: such filenames cause 
slapd/slaptest to read uninitialized memory and probably crash. I've 
proposed a fix for that on the upstream report.

In any case, upstream's response on this is that schema filenames should 
be alphanumeric only. The documentation will be updated, and we should 
probably add a check for non-alphanumeric filenames in our migration script.



More information about the Pkg-openldap-devel mailing list