From: cajus Date: Tue, 1 Jul 2008 06:51:02 +0000 (+0000) Subject: Fixed mkntpasswd to work. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e00804fecb246e32771260952623b658adde6b3;p=gosa.git Fixed mkntpasswd to work. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11491 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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