File 0454-Add-md4-and-arc4-modules-for-ntlm.patch of Package dracut.13070

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
openSUSE Build Service is sponsored by