Blame SOURCES/0044-Issue-5565-Add-upgrade-script-for-new-Rust-password-.patch

b9eb67
From 4c6fc09f06e68727abaec2bcd703d5e4dd8cc586 Mon Sep 17 00:00:00 2001
b9eb67
From: Mark Reynolds <mreynolds@redhat.com>
b9eb67
Date: Fri, 19 May 2023 14:58:20 -0400
b9eb67
Subject: [PATCH] Issue 5565 - Add upgrade script for new Rust password storage
b9eb67
 plugins
b9eb67
b9eb67
Description: add upgrade ldif for Rust PBKDF2 password storage plugins
b9eb67
b9eb67
Relates: https://github.com/389ds/389-ds-base/issues/5565
b9eb67
b9eb67
Reviewed by: spichugi(Thanks!)
b9eb67
---
b9eb67
 Makefile.am                                   |  1 +
b9eb67
 .../src/scripts/50rust-pwdstorageplugins.ldif | 52 +++++++++++++++++++
b9eb67
 2 files changed, 53 insertions(+)
b9eb67
 create mode 100644 ldap/admin/src/scripts/50rust-pwdstorageplugins.ldif
b9eb67
b9eb67
diff --git a/Makefile.am b/Makefile.am
b9eb67
index 8f2bd4212..b6ea3fe62 100644
b9eb67
--- a/Makefile.am
b9eb67
+++ b/Makefile.am
b9eb67
@@ -997,6 +997,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
b9eb67
 	ldap/admin/src/scripts/50refintprecedence.ldif \
b9eb67
 	ldap/admin/src/scripts/50retroclprecedence.ldif \
b9eb67
 	ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif \
b9eb67
+	ldap/admin/src/scripts/50rust-pwdstorageplugins.ldif \
b9eb67
 	ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif \
b9eb67
 	ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif \
b9eb67
 	ldap/admin/src/scripts/50contentsync.ldif \
b9eb67
diff --git a/ldap/admin/src/scripts/50rust-pwdstorageplugins.ldif b/ldap/admin/src/scripts/50rust-pwdstorageplugins.ldif
b9eb67
new file mode 100644
b9eb67
index 000000000..696f409e3
b9eb67
--- /dev/null
b9eb67
+++ b/ldap/admin/src/scripts/50rust-pwdstorageplugins.ldif
b9eb67
@@ -0,0 +1,52 @@
b9eb67
+dn: cn=PBKDF2,cn=Password Storage Schemes,cn=plugins,cn=config
b9eb67
+objectclass: top
b9eb67
+objectclass: nsSlapdPlugin
b9eb67
+cn: PBKDF2
b9eb67
+nsslapd-pluginpath: libpwdchan-plugin
b9eb67
+nsslapd-plugininitfunc: pwdchan_pbkdf2_plugin_init
b9eb67
+nsslapd-plugintype: pwdstoragescheme
b9eb67
+nsslapd-pluginenabled: on
b9eb67
+nsslapd-pluginId: ID
b9eb67
+nsslapd-pluginVersion: PACKAGE_VERSION
b9eb67
+nsslapd-pluginVendor: VENDOR
b9eb67
+nsslapd-pluginDescription: DESC
b9eb67
+
b9eb67
+dn: cn=PBKDF2-SHA1,cn=Password Storage Schemes,cn=plugins,cn=config
b9eb67
+objectclass: top
b9eb67
+objectclass: nsSlapdPlugin
b9eb67
+cn: PBKDF2-SHA1
b9eb67
+nsslapd-pluginpath: libpwdchan-plugin
b9eb67
+nsslapd-plugininitfunc: pwdchan_pbkdf2_sha1_plugin_init
b9eb67
+nsslapd-plugintype: pwdstoragescheme
b9eb67
+nsslapd-pluginenabled: on
b9eb67
+nsslapd-pluginId: ID
b9eb67
+nsslapd-pluginVersion: PACKAGE_VERSION
b9eb67
+nsslapd-pluginVendor: VENDOR
b9eb67
+nsslapd-pluginDescription: DESC
b9eb67
+
b9eb67
+dn: cn=PBKDF2-SHA256,cn=Password Storage Schemes,cn=plugins,cn=config
b9eb67
+objectclass: top
b9eb67
+objectclass: nsSlapdPlugin
b9eb67
+cn: PBKDF2-SHA256
b9eb67
+nsslapd-pluginpath: libpwdchan-plugin
b9eb67
+nsslapd-plugininitfunc: pwdchan_pbkdf2_sha256_plugin_init
b9eb67
+nsslapd-plugintype: pwdstoragescheme
b9eb67
+nsslapd-pluginenabled: on
b9eb67
+nsslapd-pluginId: ID
b9eb67
+nsslapd-pluginVersion: PACKAGE_VERSION
b9eb67
+nsslapd-pluginVendor: VENDOR
b9eb67
+nsslapd-pluginDescription: DESC
b9eb67
+
b9eb67
+dn: cn=PBKDF2-SHA512,cn=Password Storage Schemes,cn=plugins,cn=config
b9eb67
+objectclass: top
b9eb67
+objectclass: nsSlapdPlugin
b9eb67
+cn: PBKDF2-SHA512
b9eb67
+nsslapd-pluginpath: libpwdchan-plugin
b9eb67
+nsslapd-plugininitfunc: pwdchan_pbkdf2_sha512_plugin_init
b9eb67
+nsslapd-plugintype: pwdstoragescheme
b9eb67
+nsslapd-pluginenabled: on
b9eb67
+nsslapd-pluginId: ID
b9eb67
+nsslapd-pluginVersion: PACKAGE_VERSION
b9eb67
+nsslapd-pluginVendor: VENDOR
b9eb67
+nsslapd-pluginDescription: DESC
b9eb67
+
b9eb67
-- 
b9eb67
2.40.1
b9eb67