[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
invalid value for attributeType olcSuffix while restoring cn=config (slapd-2.4.33)
- To: openldap-technical@openldap.org
- Subject: invalid value for attributeType olcSuffix while restoring cn=config (slapd-2.4.33)
- From: Igor Zinovik <zinovik.igor@gmail.com>
- Date: Mon, 6 May 2013 17:39:41 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=bW/dBNdFj0943aijCZkVas3b4o/loXFOFH6JJmMadjk=; b=QW0+CGegtQIwaCRVa3A4mkosgQ9p+/VC/n4NEceoGPkxIKpII5REg73eHWQE5nbklR 0AmZYmq7xMwaU4VHqB5kCwbN8r87R1pTRVEQkmDdDDgW3k8HF3XdMI14hyWxZwTSLIpp iimxJoafog7hkot2DfQWb8YPjHhZwHUMFhiBbzI3OR32k9d9TzJYom4m64rH9Coe4inx NofZ7kl2ux5wVE8qelSnqvb2jzPLvVYg2tDDPSfhFC0kwXGZJW3nAWO27k5yfiBJHuXF e+L3a6CnA9fJgF0qhdA1QpyGDcRQwAm8yyZsWBne3Zq7WR5s176o4mXPtsrBhcpeCTnq 9R9g==
 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)