From b749ee79211cc041b4a25e2295dd7696fdc0ab9d Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Fri, 23 Jul 2010 10:00:36 +0200 Subject: [PATCH] Remove print that fools kpasswdd. The output from this print is considered an error message which makes kpasswdd reject a password even though "APPROVED" is printed afterwards. Signed-off-by: Love Hornquist Astrand --- lib/kadm5/check-cracklib.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/kadm5/check-cracklib.pl b/lib/kadm5/check-cracklib.pl index e2517deb9..a6fbd4c82 100644 --- a/lib/kadm5/check-cracklib.pl +++ b/lib/kadm5/check-cracklib.pl @@ -73,7 +73,6 @@ sub check_repeat dbmopen(%DB,$historydb,0600) or die "Internal: Could not open $historydb"; if (!$DB{$key} || ($timenow - $DB{$key} < $reusetime)) { $result = "ok"; - print $timenow - $DB{$key} . "\n"; $DB{$key}=$timenow; } dbmclose(%DB) or die "Internal: Could not close $historydb"; -- 2.11.4.GIT