From 55cce82b1d144bc691fb5cfe4b28425d560e639c Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: May 10 2018 12:04:58 +0000 Subject: Ticket 49665 - Upgrade script doesn't enable CRYPT password storage plug-in Description: There is no upgrade script to add the new CRYPT plugins, this fix adds the script. https://pagure.io/389-ds-base/issue/49665 Reviewed by: vashirov(Thanks!) (cherry picked from commit 91dc832411a1bb6e8bf62bb72c36777ddc63770f) --- diff --git a/Makefile.am b/Makefile.am index f7e3558..9a72aaf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -953,6 +953,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \ ldap/admin/src/scripts/50retroclprecedence.ldif \ ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif \ ldap/admin/src/scripts/50pbkdf2pwdstorageplugin.ldif \ + ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif \ ldap/admin/src/scripts/50contentsync.ldif \ ldap/admin/src/scripts/60upgradeschemafiles.pl \ ldap/admin/src/scripts/60upgradeconfigfiles.pl \ diff --git a/ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif b/ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif new file mode 100644 index 0000000..0a4a507 --- /dev/null +++ b/ldap/admin/src/scripts/50cryptpwdstorageplugin.ldif @@ -0,0 +1,38 @@ +dn: cn=CRYPT-MD5,cn=Password Storage Schemes,cn=plugins,cn=config +objectClass: top +objectClass: nsSlapdPlugin +cn: CRYPT-MD5 +nsslapd-pluginPath: libpwdstorage-plugin +nsslapd-pluginInitfunc: crypt_md5_pwd_storage_scheme_init +nsslapd-pluginType: pwdstoragescheme +nsslapd-pluginEnabled: on +nsslapd-pluginId: ID +nsslapd-pluginVersion: PACKAGE_VERSION +nsslapd-pluginVendor: VENDOR +nsslapd-pluginDescription: DESC + +dn: cn=CRYPT-SHA256,cn=Password Storage Schemes,cn=plugins,cn=config +objectClass: top +objectClass: nsSlapdPlugin +cn: CRYPT-SHA256 +nsslapd-pluginPath: libpwdstorage-plugin +nsslapd-pluginInitfunc: crypt_sha256_pwd_storage_scheme_init +nsslapd-pluginType: pwdstoragescheme +nsslapd-pluginEnabled: on +nsslapd-pluginId: ID +nsslapd-pluginVersion: PACKAGE_VERSION +nsslapd-pluginVendor: VENDOR +nsslapd-pluginDescription: DESC + +dn: cn=CRYPT-SHA512,cn=Password Storage Schemes,cn=plugins,cn=config +objectClass: top +objectClass: nsSlapdPlugin +cn: CRYPT-SHA512 +nsslapd-pluginPath: libpwdstorage-plugin +nsslapd-pluginInitfunc: crypt_sha512_pwd_storage_scheme_init +nsslapd-pluginType: pwdstoragescheme +nsslapd-pluginEnabled: on +nsslapd-pluginId: ID +nsslapd-pluginVersion: PACKAGE_VERSION +nsslapd-pluginVendor: VENDOR +nsslapd-pluginDescription: DESC