Hello

I'm getting an error while trying to use MDB backend. The section that's giving issue is the following one:
#######################################################################
# LMDB database definitions
#######################################################################
#
dn: olcDatabase=mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: mdb
olcDbMaxSize: 1073741824
olcSuffix: dc=test,dc=local
olcRootDN: cn=mdbadm,test,dc=local
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd-config(5) for details.
# Use of strong authentication encouraged.
olcRootPW: {SSHA}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
olcDbDirectory: /var/db/openldap-data
# Indices to maintain
olcDbIndex: objectClass eq

with this section added to the end of slapd.ldif i get the error 5ea9641d <= str2entry: str2ad(olcDbMaxSize): attribute type undefined while testing the import using slapadd -v -n0 -F /etc/openldap/slapd.d -l /etc/openldap/slapd.ldif

if i comment the offending line olcDbMaxSize: 1073741824 then I just get an error with another line in the same section.

This is a fresh install, the slapd.d folder is empty and I'm using the example slapd.ldif.sample that comes with the software (it has mdb lodaded as module by default)

#                                                                
# Load dynamic backend modules:                                  
#                                                                
dn: cn=module,cn=config                                          
objectClass: olcModuleList                                        
cn: module                                                        
olcModulepath:  /usr/lib/openldap                                
#olcModuleload: back_bdb.so                                      
#olcModuleload: back_hdb.so                                      
#olcModuleload: back_ldap.so                                  
olcModuleload:  back_mdb.so                                    
#olcModuleload: back_passwd.so                                
#olcModuleload: back_shell.so 

Thanks in dvance for any hint or help you can provide
Best regards