[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#9122) slapadd with dry run fails with back-mdb
Full_Name: Quanah Gibson-Mount
Version: 2.4.48
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.143.26)
When testing an slapadd import with back-mdb as the database backend, it errors
out incorrectly with a unknown attribute error:
slapadd -F /tmp/slapd.d -l slapd-config-config.ldif -n 0 -u
5ddc186e PROXIED attributeDescription "DC" inserted.
5ddc186e <= str2entry: str2ad(olcDbNoSync): attribute type undefined
slapadd: could not parse entry (line=1620)
_################### 99.10% eta none elapsed none spd 18.7 M/s
However the actual LDIF file is just fine:
slapadd -F /tmp/slapd.d -l slapd-config.ldif -n 0
_#################### 100.00% eta none elapsed none fast!
Closing DB...
I'm guessing that on a dry-run, it doesn't actually fully load the modules
defined in moduleload to get their schema definitions, which results in a false
failure instead of a success.