User-Visible kadmin-remctl Changes
+kadmin-remctl 3.5 (unreleased)
+
+ Increase the timeout for initial authentication during a kpasswd
+ password change to ten seconds. The previous timeout of two seconds
+ was occasionally too short in production. Also fix a Perl warning if
+ the initial authentication times out.
+
kadmin-remctl 3.4 (2013-07-09)
Set the disallow-svr flag on all newly-created principals. This
}
$kpasswd->send ($old . "\n");
my ($num, $error, $match, $before, $after)
- = $kpasswd->expect (2, 'kpasswd: ', 'Enter new password: ');
- if ($num == 1) {
+ = $kpasswd->expect (10, 'kpasswd: ', 'Enter new password: ');
+ if (defined ($num) && $num == 1) {
$after =~ s/\r?\n.*//s;
warn "error: $after\n";
print "retstr: $after\n";
$kpasswd->send ($old . "\n");
my ($num, $error, $match, $before, $after)
- = $kpasswd->expect (2, 'kpasswd: krb5_get_init_creds:',
+ = $kpasswd->expect (10, 'kpasswd: krb5_get_init_creds:',
'kpasswd: Password incorrect',
'-re', 'New password for \S+:');
- if ($num == 1 || $num == 2) {
+ if (defined ($num) && ($num == 1 || $num == 2)) {
if ($num == 1) {
$after =~ s/\r?\n.*//s;
$after =~ s/^\s+//;