Browse Source

Resolves: bug 339041
Bug Description: migration : encryption key entries missing when source is 6.21
Reviewed by: self
Fix Description: Just always create those entries when creating the backend. The server does this at startup, but I guess for this case that occurs too late in the startup process.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none

Rich Megginson 18 years ago
parent
commit
ec4ba307c7
1 changed files with 10 additions and 0 deletions
  1. 10 0
      ldap/ldif/template-suffix-db.ldif.in

+ 10 - 0
ldap/ldif/template-suffix-db.ldif.in

@@ -7,6 +7,16 @@ objectclass: nsBackendInstance
 nsslapd-suffix: %ds_suffix%
 cn: %ds_bename%
 
+dn: cn=encrypted attribute keys,cn=%ds_bename%,cn=ldbm database,cn=plugins,cn=config
+objectClass: top
+objectClass: extensibleObject
+cn: encrypted attributes keys
+
+dn: cn=encrypted attributes,cn=%ds_bename%,cn=ldbm database,cn=plugins,cn=config
+objectClass: top
+objectClass: extensibleObject
+cn: encrypted attributes
+
 dn: cn="%ds_suffix%",cn=mapping tree,cn=config
 objectclass: top
 objectclass: extensibleObject