From 214da0e940fe6742b606a2f051b82aedef9eb4cd8478371f93b1d8473117b5aa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 18 Jan 2017 13:46:16 +0000 Subject: [PATCH] Accepting request 450953 from home:dmolkentin:dracut:869496 - Add md4 and arc4 modules for ntlm authentication * add 0454-Add-md4-and-arc4-modules-for-ntlm.patch OBS-URL: https://build.opensuse.org/request/show/450953 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=280 --- 0454-Add-md4-and-arc4-modules-for-ntlm.patch | 30 ++++++++++++++++++++ dracut.changes | 6 ++++ dracut.spec | 2 ++ 3 files changed, 38 insertions(+) create mode 100644 0454-Add-md4-and-arc4-modules-for-ntlm.patch diff --git a/0454-Add-md4-and-arc4-modules-for-ntlm.patch b/0454-Add-md4-and-arc4-modules-for-ntlm.patch new file mode 100644 index 0000000..b4e41f1 --- /dev/null +++ b/0454-Add-md4-and-arc4-modules-for-ntlm.patch @@ -0,0 +1,30 @@ +From e69da98de1a4175fb3c745570471fc3a7d567a33 Mon Sep 17 00:00:00 2001 +From: Daniel Molkentin +Date: Thu, 17 Nov 2016 11:22:48 +0100 +Subject: [PATCH] Add md4 and arc4 modules for ntlm + +Some crashkernel targets still use legacy NTLM auth, which +require those (bsc#869496). This patch enumerates all dependent +hash algorithems, because even though most of them are probably +compiled in, older ones (e.g. md4 and arc4) usually aren't. +--- + modules.d/95cifs/module-setup.sh | 6 ++++++ + 1 file changed, 6 insertions(+) + +Index: dracut-044/modules.d/95cifs/module-setup.sh +=================================================================== +--- dracut-044.orig/modules.d/95cifs/module-setup.sh ++++ dracut-044/modules.d/95cifs/module-setup.sh +@@ -24,6 +24,12 @@ depends() { + # called by dracut + installkernel() { + instmods cifs ipv6 ++ # hash algos ++ instmods md4 md5 sha256 ++ # ciphers ++ instmods aes arc4 des ecb ++ # macs ++ instmods hmac cmac + } + + # called by dracut diff --git a/dracut.changes b/dracut.changes index 75ba473..4d75a94 100644 --- a/dracut.changes +++ b/dracut.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 16 19:44:07 UTC 2017 - daniel.molkentin@suse.com + +- Add md4 and arc4 modules for ntlm authentication + * add 0454-Add-md4-and-arc4-modules-for-ntlm.patch + ------------------------------------------------------------------- Mon Jan 16 19:05:14 UTC 2017 - daniel.molkentin@suse.com diff --git a/dracut.spec b/dracut.spec index bb936e7..106dad4 100644 --- a/dracut.spec +++ b/dracut.spec @@ -174,6 +174,7 @@ Patch450: 0450-Strip-NUL-bytes-in-stream-before-push-in-string.patch Patch451: 0451-systemd-initrd-add-initrd-root-device.target.patch Patch452: 0452-Always-try-to-add-pinctrl-cherryview.patch Patch453: 0453-Resolve-symbolic-links-for-i-and-k-parameters-bsc-90.patch +Patch454: 0454-Add-md4-and-arc4-modules-for-ntlm.patch # On top patches/fixes which have to be applied late Patch500: 0500-Reset-IFS-variable.patch @@ -380,6 +381,7 @@ chmod a+x modules.d/91zipl/install_zipl_cmdline.sh %patch451 -p1 %patch452 -p1 %patch453 -p1 +%patch454 -p1 %patch500 -p1 %patch501 -p1