Hello,
Saw this link in a recent mail to this list. https://www.openldap.org/doc/admin25/appendix-upgrading.html
Looks like hdb would no longer be supported. I googled a bit to see what it would take to move over to mdb and stumbled on this post. https://www.mail-archive.com/openldap-technical@openldap.org/msg25484.html
My question is: Is it really that easy? Just replace all my instances of hdb or Hdb with mdp or Mdb respectively?
Additionally add “olcDbMaxSize” to my top lavel “olcDatabase={2}hdb,cn=config” ?
Then reimport ?
Below is a much redacted slapcat of my config. Any input is much appreciated.
Thank you, Dave
dn: cn=config objectClass: olcGlobal cn: config olcServerID: 1 structuralObjectClass: olcGlobal creatorsName: cn=config modifiersName: cn=config ... ... dn: olcDatabase={2}hdb,cn=config objectClass: olcHdbConfig olcDatabase: {2}hdb structuralObjectClass: olcHdbConfig ...
dn: olcOverlay={0}auditlog,olcDatabase={2}hdb,cn=config ... dn: olcOverlay={1}ppolicy,olcDatabase={2}hdb,cn=config ... dn: olcOverlay={2}syncprov,olcDatabase={2}hdb,cn=config ...
--On Thursday, June 3, 2021 12:49 AM -0400 Dave Macias davama@gmail.com wrote:
Hello,
Saw this link in a recent mail to this list. https://www.openldap.org/doc/admin25/appendix-upgrading.html
Looks like hdb would no longer be supported. I googled a bit to see what it would take to move over to mdb and stumbled on this post. https://www.mail-archive.com/openldap-technical@openldap.org/msg25484.html
My question is: Is it really that easy?
yes. Make sure that you have back_mdb moduleloaded as well if it's built as a module. You do have to export your DB via slapcat and then reimport with slapadd as well.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Quanah Gibson-Mount quanah@symas.com writes:
--On Thursday, June 3, 2021 12:49 AM -0400 Dave Macias davama@gmail.com wrote:
Hello,
Saw this link in a recent mail to this list. https://www.openldap.org/doc/admin25/appendix-upgrading.html
Looks like hdb would no longer be supported. I googled a bit to see what it would take to move over to mdb and stumbled on this post. https://www.mail-archive.com/openldap-technical@openldap.org/msg25484.html
My question is: Is it really that easy?
yes. Make sure that you have back_mdb moduleloaded as well if it's built as a module. You do have to export your DB via slapcat and then reimport with slapadd as well.
In order to check for static built-in modules run ./slapd -VVV
-Dieter
slapd -VVV
@(#) $OpenLDAP: slapd 2.4.58 (Mar 16 2021 19:13:56) $ build@c7rpm :/home/build/git/rheldap/RHEL7_x86_64/BUILD/symas-openldap-2.4.58/openldap-2.4.58/servers/slapd
Included static backends: config ldif monitor bdb hdb mdb
Not sure what to look for... "mdb" is that is?
On Thu, Jun 3, 2021 at 1:38 PM Dieter Klünter dieter@dkluenter.de wrote:
Quanah Gibson-Mount quanah@symas.com writes:
--On Thursday, June 3, 2021 12:49 AM -0400 Dave Macias davama@gmail.com wrote:
Hello,
Saw this link in a recent mail to this list. https://www.openldap.org/doc/admin25/appendix-upgrading.html
Looks like hdb would no longer be supported. I googled a bit to see what it would take to move over to mdb and stumbled on this post.
https://www.mail-archive.com/openldap-technical@openldap.org/msg25484.html
My question is: Is it really that easy?
yes. Make sure that you have back_mdb moduleloaded as well if it's built as a module. You do have to export your DB via slapcat and then reimport with slapadd as well.
In order to check for static built-in modules run ./slapd -VVV
-Dieter
-- Dieter Klünter | Systemberatung http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E
--On Thursday, June 3, 2021 5:43 PM -0400 Dave Macias davama@gmail.com wrote:
slapd -VVV
@(#) $OpenLDAP: slapd 2.4.58 (Mar 16 2021 19:13:56) $ build@c7rpm:/home/build/git/rheldap/RHEL7_x86_64/BUILD/symas-openldap-2.4 .58/openldap-2.4.58/servers/slapd
Included static backends: config ldif monitor bdb hdb mdb
Not sure what to look for... "mdb" is that is?
Yes, that indicates mdb was built statically.
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org