From: cajus Date: Tue, 30 Jan 2007 04:12:49 +0000 (+0000) Subject: Simplified hash generation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=86fb4a32ebd16f030cfc871a3c87b91ae489a5c8;p=gosa.git Simplified hash generation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5651 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/bin/mkntpasswd b/bin/mkntpasswd index 8d71a61e7..174995829 100755 --- a/bin/mkntpasswd +++ b/bin/mkntpasswd @@ -5,6 +5,6 @@ if [ $# -ne 1 ]; then fi # Render hash using perl -perl -MCrypt::SmbHash -e "ntlmgen \"\$ARGV[0]\", \$lm, \$nt; print \"\${lm}:\${nt}\n\";" $1 +perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen $ARGV[0]), $/;" exit 0