The name of the password generator for nt changed names, so we need to change in the setup
Hello,
The name of the password generator for nt changed names, so we need to change in the setup, the name is now fusiondirectory-mkntpassword
class_setupStep_Checks.inc
/* Check generation of LM/NT password hashes */
/* need the perl Mcrypt library or mkntpwd executable */
$query= "mkntpwd 2>&1";
$output= shell_exec ($query);
$have_mkntpwd= preg_match("/^Usage: mkntpwd /", $output);
if (!$have_mkntpwd){
$query= 'LC_ALL=C LANG=C perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen $ARGV[0]), $/;" >/dev/null';
system ($query, $ret);
$have_mkntpwd |= ($ret == 0);
}
bug program ne porte plus ce nom la
$N = msgPool::checkingFor(_("samba hash generator"));
$D = _("FusionDirectory requires this command to synchronize POSIX and samba passwords.");
$S = _("Install the perl Crypt::SmbHash modules or the mkntpwd executable");
$R = $have_mkntpwd;
$M = TRUE;
$this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
idem
(from redmine: issue id 839, created on 2012-04-21, closed on 2012-04-30)
- Changesets:
- Revision 2a554a4f by Benoit MORTIER on 2012-04-25T09:24:27.000Z:
Fixes: #839 The name of the password generator for nt changed names, so we need to change in the setup