--On Tuesday, May 5, 2020 1:42 PM -0500 Beker fzfq3m@gmail.com wrote:
dn: cn=module,cn=config objectClass: olcModuleList cn: module olcModulepath: /usr/lib/openldap olcModuleload: back_mdb.la
I was able to load your slapd.ldif file w/o issue with the exception of a minor problem in the above, which has two spaces after the : instead of a single space. This made slapd try to load " back_mdb.la" instead of "back_mdb.la".
Once I fixed that problem, I was able to import it w/o issue:
root@anvil3:/tmp# slapadd -n 0 -F /usr/local/etc/openldap/slapd.d -l slapd.ldif _#################### 100.00% eta none elapsed none fast! Closing DB... root@anvil3:/tmp#
However, I get the same failure you report when doing a dry-run:
/opt/symas/bin/slapadd -u -n 0 -F /opt/symas/etc/openldap/slapd.d -l slapd.ldif 5eb1d54e <= str2entry: str2ad(olcDbMaxSize): attribute type undefined slapadd: could not parse entry (line=1066) _#################### 100.00% eta none elapsed none fast!
So this seems to be an bug with the dry run code vs an actual problem with the configuration.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com