Blame SOURCES/0079-Ticket-49665-Upgrade-script-doesn-t-enable-PBKDF2-pa.patch

3b7e51
From a13a83465c685d6ec8d47b6f10646986ded16a68 Mon Sep 17 00:00:00 2001
3b7e51
From: Mark Reynolds <mreynolds@redhat.com>
3b7e51
Date: Wed, 9 May 2018 16:36:48 -0400
3b7e51
Subject: [PATCH] Ticket 49665 - Upgrade script doesn't enable PBKDF2 password
3b7e51
 storage plug-in
3b7e51
3b7e51
Description:  There is no upgrade script to add the PBKDF2 plugin, this
3b7e51
              fix adds the script.
3b7e51
3b7e51
https://pagure.io/389-ds-base/issue/49665
3b7e51
3b7e51
Reviewed by: ?
3b7e51
3b7e51
(cherry picked from commit dc690dd231a626b3b6a2019fee51e3cb15db7962)
3b7e51
---
3b7e51
 Makefile.am                                          |  1 +
3b7e51
 ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif | 12 ++++++++++++
3b7e51
 2 files changed, 13 insertions(+)
3b7e51
 create mode 100644 ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif
3b7e51
3b7e51
diff --git a/Makefile.am b/Makefile.am
3b7e51
index 8834a7819..055d480aa 100644
3b7e51
--- a/Makefile.am
3b7e51
+++ b/Makefile.am
3b7e51
@@ -949,6 +949,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
3b7e51
 	ldap/admin/src/scripts/50refintprecedence.ldif \
3b7e51
 	ldap/admin/src/scripts/50retroclprecedence.ldif \
3b7e51
 	ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif \
3b7e51
+	ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif \
3b7e51
 	ldap/admin/src/scripts/50contentsync.ldif \
3b7e51
 	ldap/admin/src/scripts/60upgradeschemafiles.pl \
3b7e51
 	ldap/admin/src/scripts/60upgradeconfigfiles.pl \
3b7e51
diff --git a/ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif b/ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif
3b7e51
new file mode 100644
3b7e51
index 000000000..462d5534a
3b7e51
--- /dev/null
3b7e51
+++ b/ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif
3b7e51
@@ -0,0 +1,12 @@
3b7e51
+dn: cn=PBKDF2_SHA256,cn=Password Storage Schemes,cn=plugins,cn=config
3b7e51
+objectclass: top
3b7e51
+objectclass: nsSlapdPlugin
3b7e51
+cn: PBKDF2_SHA256
3b7e51
+nsslapd-pluginpath: libpwdstorage-plugin
3b7e51
+nsslapd-plugininitfunc: pbkdf2_sha256_pwd_storage_scheme_init
3b7e51
+nsslapd-plugintype: pwdstoragescheme
3b7e51
+nsslapd-pluginenabled: on
3b7e51
+nsslapd-pluginDescription: DESC
3b7e51
+nsslapd-pluginVersion: PACKAGE_VERSION
3b7e51
+nsslapd-pluginVendor: VENDOR
3b7e51
+nsslapd-pluginid: ID
3b7e51
-- 
3b7e51
2.13.6
3b7e51