[debian-edu-commits] debian-edu/pkg-team/ 01/01: debian/patches: Update 1022_add-b-switch-to-mkntpasswd-script.patch. Skip loading -MMIME::Base64 if password is in cleartext.
Mike Gabriel
sunweaver at debian.org
Fri Jan 29 09:09:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository gosa.
commit 3969c406508bdbf3eb7c81f9435ba8e15eccce0f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Jan 29 10:09:51 2016 +0100
debian/patches: Update 1022_add-b-switch-to-mkntpasswd-script.patch. Skip loading -MMIME::Base64 if password is in cleartext.
---
debian/patches/1022_add-b-switch-to-mkntpasswd-script.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/1022_add-b-switch-to-mkntpasswd-script.patch b/debian/patches/1022_add-b-switch-to-mkntpasswd-script.patch
index 45bc5ca..9def1c2 100644
--- a/debian/patches/1022_add-b-switch-to-mkntpasswd-script.patch
+++ b/debian/patches/1022_add-b-switch-to-mkntpasswd-script.patch
@@ -27,7 +27,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+if [ -n "$b64_encoded_pw" ]; then
+ perl -MCrypt::SmbHash -MMIME::Base64 -e "ntlmgen decode_base64(\"\$ARGV[0]\"), \$lm, \$nt; print \"\$lm:\$nt\";" "$1"
+else
-+ perl -MCrypt::SmbHash -MMIME::Base64 -e "ntlmgen \"\$ARGV[0]\", \$lm, \$nt; print \"\$lm:\$nt\";" "$1"
++ perl -MCrypt::SmbHash -e "ntlmgen \"\$ARGV[0]\", \$lm, \$nt; print \"\$lm:\$nt\";" "$1"
+fi
exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git
More information about the debian-edu-commits
mailing list