Hello, openldap-technical@ readers.

I backed up cn=config from openldap-2.4.33 and now i try to restore
it, but with no success.

I made backup copy this way:
ldap1# sudo slapcat -b cn=config -F /etc/openldap/slapd.d -l config.ldif

After this i created new clean VM with opensuse 12.3 and slapd 2.4.33

opensuse# slapadd -u -F /etc/openldap/slapd.d -b cn=config -l config.ldif
5187acde str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.4.1.1466.115.121.1.12)
slapadd: could not parse entry (line=3206)
_###################   98.19% eta   none elapsed            none spd  19.9 M/s

opensuse# fgrep -n olcSuffix config.ldif
522:olcAttributeTypes: ( OLcfgDbAt:0.10 NAME 'olcSuffix' EQUALITY distinguishedNam
1049: n $ olcSuffix $ olcSubordinate $ olcAccess $ olcAddContentAcl $ olcLastMod $
3205:olcSuffix: dc=example,dc=ru
3411:olcSuffix: cn=example-log

LDIF content around line 3206 is following:
3201: dn: olcDatabase={1}mdb,cn=config
3202: objectClass: olcDatabaseConfig
3203: objectClass: olcMdbConfig
3204: olcDatabase: {1}mdb
3205: olcSuffix: dc=example,dc=ru
3206: olcAddContentAcl: FALSE

Here is trace:
5187b22a <<< dnPrettyNormal: <olcDatabase={1}mdb,cn=config>, <olcDatabase={1}mdb,cn=config>
5187b22a >>> dnPretty: <dc=example,dc=ru>
5187b22a str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.4.1.1466.115.121.1.
12)
slapadd: could not parse entry (line=3201)