From 0e00804fecb246e32771260952623b658adde6b3 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 1 Jul 2008 06:51:02 +0000 Subject: [PATCH] Fixed mkntpasswd to work. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11491 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/bin/mkntpasswd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/bin/mkntpasswd b/gosa-core/bin/mkntpasswd index 174995829..b860f371d 100755 --- a/gosa-core/bin/mkntpasswd +++ b/gosa-core/bin/mkntpasswd @@ -5,6 +5,6 @@ if [ $# -ne 1 ]; then fi # Render hash using perl -perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen $ARGV[0]), $/;" +perl -MCrypt::SmbHash -e "ntlmgen \"\$ARGV[0]\", \$lm, \$nt; print \"\${lm}:\${nt}\n\";" "$1" exit 0 -- 2.30.2