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

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