|
|
3b7e51 |
From 1c077cff1ce49f5380192325a6947c623019c365 Mon Sep 17 00:00:00 2001
|
|
|
3b7e51 |
From: Mark Reynolds <mreynolds@redhat.com>
|
|
|
3b7e51 |
Date: Wed, 9 May 2018 16:39:23 -0400
|
|
|
3b7e51 |
Subject: [PATCH] Ticket 49665 - Upgrade script doesn't enable CRYPT password
|
|
|
3b7e51 |
storage plug-in
|
|
|
3b7e51 |
|
|
|
3b7e51 |
Description: There is no upgrade script to add the new CRYPT plugins, this
|
|
|
3b7e51 |
fix adds the script.
|
|
|
3b7e51 |
|
|
|
3b7e51 |
https://pagure.io/389-ds-base/issue/49665
|
|
|
3b7e51 |
|
|
|
3b7e51 |
Reviewed by: vashirov(Thanks!)
|
|
|
3b7e51 |
|
|
|
3b7e51 |
(cherry picked from commit 91dc832411a1bb6e8bf62bb72c36777ddc63770f)
|
|
|
3b7e51 |
---
|
|
|
3b7e51 |
Makefile.am | 1 +
|
|
|
3b7e51 |
.../admin/src/scripts/50cryptpwdstorageplugin.ldif | 38 ++++++++++++++++++++++
|
|
|
3b7e51 |
2 files changed, 39 insertions(+)
|
|
|
3b7e51 |
create mode 100644 ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif
|
|
|
3b7e51 |
|
|
|
3b7e51 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
3b7e51 |
index 055d480aa..4f62a899b 100644
|
|
|
3b7e51 |
--- a/Makefile.am
|
|
|
3b7e51 |
+++ b/Makefile.am
|
|
|
3b7e51 |
@@ -950,6 +950,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
|
|
|
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/50cryptpwdstorageplugin.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/50cryptpwdstorageplugin.ldif b/ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif
|
|
|
3b7e51 |
new file mode 100644
|
|
|
3b7e51 |
index 000000000..0a4a50776
|
|
|
3b7e51 |
--- /dev/null
|
|
|
3b7e51 |
+++ b/ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif
|
|
|
3b7e51 |
@@ -0,0 +1,38 @@
|
|
|
3b7e51 |
+dn: cn=CRYPT-MD5,cn=Password Storage Schemes,cn=plugins,cn=config
|
|
|
3b7e51 |
+objectClass: top
|
|
|
3b7e51 |
+objectClass: nsSlapdPlugin
|
|
|
3b7e51 |
+cn: CRYPT-MD5
|
|
|
3b7e51 |
+nsslapd-pluginPath: libpwdstorage-plugin
|
|
|
3b7e51 |
+nsslapd-pluginInitfunc: crypt_md5_pwd_storage_scheme_init
|
|
|
3b7e51 |
+nsslapd-pluginType: pwdstoragescheme
|
|
|
3b7e51 |
+nsslapd-pluginEnabled: on
|
|
|
3b7e51 |
+nsslapd-pluginId: ID
|
|
|
3b7e51 |
+nsslapd-pluginVersion: PACKAGE_VERSION
|
|
|
3b7e51 |
+nsslapd-pluginVendor: VENDOR
|
|
|
3b7e51 |
+nsslapd-pluginDescription: DESC
|
|
|
3b7e51 |
+
|
|
|
3b7e51 |
+dn: cn=CRYPT-SHA256,cn=Password Storage Schemes,cn=plugins,cn=config
|
|
|
3b7e51 |
+objectClass: top
|
|
|
3b7e51 |
+objectClass: nsSlapdPlugin
|
|
|
3b7e51 |
+cn: CRYPT-SHA256
|
|
|
3b7e51 |
+nsslapd-pluginPath: libpwdstorage-plugin
|
|
|
3b7e51 |
+nsslapd-pluginInitfunc: crypt_sha256_pwd_storage_scheme_init
|
|
|
3b7e51 |
+nsslapd-pluginType: pwdstoragescheme
|
|
|
3b7e51 |
+nsslapd-pluginEnabled: on
|
|
|
3b7e51 |
+nsslapd-pluginId: ID
|
|
|
3b7e51 |
+nsslapd-pluginVersion: PACKAGE_VERSION
|
|
|
3b7e51 |
+nsslapd-pluginVendor: VENDOR
|
|
|
3b7e51 |
+nsslapd-pluginDescription: DESC
|
|
|
3b7e51 |
+
|
|
|
3b7e51 |
+dn: cn=CRYPT-SHA512,cn=Password Storage Schemes,cn=plugins,cn=config
|
|
|
3b7e51 |
+objectClass: top
|
|
|
3b7e51 |
+objectClass: nsSlapdPlugin
|
|
|
3b7e51 |
+cn: CRYPT-SHA512
|
|
|
3b7e51 |
+nsslapd-pluginPath: libpwdstorage-plugin
|
|
|
3b7e51 |
+nsslapd-pluginInitfunc: crypt_sha512_pwd_storage_scheme_init
|
|
|
3b7e51 |
+nsslapd-pluginType: pwdstoragescheme
|
|
|
3b7e51 |
+nsslapd-pluginEnabled: on
|
|
|
3b7e51 |
+nsslapd-pluginId: ID
|
|
|
3b7e51 |
+nsslapd-pluginVersion: PACKAGE_VERSION
|
|
|
3b7e51 |
+nsslapd-pluginVendor: VENDOR
|
|
|
3b7e51 |
+nsslapd-pluginDescription: DESC
|
|
|
3b7e51 |
--
|
|
|
3b7e51 |
2.13.6
|
|
|
3b7e51 |
|