On 2023/01/21 12:20, Chandler Sobel-Sorenson wrote:
Hi all,
I'm trying to move our LDAP from an old CentOS 6 server to new Debian 11 server, but I'm running into the problem importing the config on the new server with slapadd:
63cc2422 <= str2entry: str2ad(olcDbCacheSize): attribute type undefined slapadd: could not parse entry (line=2076)
I read that it's because of BDB being removed and no longer supported. What should I do, then?
This is specific to BDB. Assuming you're moving to the recommended MDB backend, you can remove it.
https://kb.symas.com/migrating-bdbhdb-to-mdb-slapdconf.html is helpful, though depending on how packages are built some of it maybe irrelevant or need slight adjustment.