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
This commit is contained in:
Dirk Mueller 2017-01-18 13:46:16 +00:00 committed by Git OBS Bridge
parent d4562a8664
commit 214da0e940
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From e69da98de1a4175fb3c745570471fc3a7d567a33 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
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

View File

@ -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

View File

@ -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