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

(ITS#7153) OpenLDAP doesn't start after some configuration modifications

Full_Name: Raphael Ouazana
Version: 2.4.26
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


This is a little bit like shooting himself in the foot:
a/ Create a new attribute with back-config
b/ Create a second new attribute which inherits from the first one with
c/ Remove the first attribute with back-config
d/ OpenLDAP does not complain. But when you restart the server, you get an error

More problematically, you cannot modify the configuration anymore, because
slapcating the configuration to edit it gives you the same error message:

$ sbin/slapcat -F etc/openldap/slapd.d -n0
olcAttributeTypes: value #0 olcAttributeTypes: AttributeType not found: "xxx"
config error processing cn={22}yyy,cn=schema,cn=config: olcAttributeTypes:
AttributeType not found: "xxx"
slapcat: bad configuration directory!