Allow underscores in principal names by default in the examine
function.
User-Visible kadmin-remctl Changes
+kadmin-remctl 3.1 (unreleased)
+
+ Allow underscores in principal names by default in the examine
+ function.
+
kadmin-remctl 3.0 (2010-02-17)
Add kadmin-backend-heim, which duplicates the kadmin-backend
}
my $regex;
if ($CONFIG{$instance}) {
- $regex = $CONFIG{$instance}{allowed} || '^[-a-zA-Z0-9]+\z';
+ $regex = $CONFIG{$instance}{allowed} || '^[a-zA-Z0-9_-]+\z';
} else {
- $regex = '^[-a-zA-Z0-9]+\z';
+ $regex = '^[a-zA-Z0-9_-]+\z';
}
unless ($principal =~ /$regex/ and $instance =~ m%^([a-zA-Z0-9._-]+)?\z%) {
die "error: invalid character in principal name\n";
}
my $regex;
if ($CONFIG{$instance}) {
- $regex = $CONFIG{$instance}{allowed} || '^[-a-zA-Z0-9]+\z';
+ $regex = $CONFIG{$instance}{allowed} || '^[a-zA-Z0-9_-]+\z';
} else {
- $regex = '^[-a-zA-Z0-9]+\z';
+ $regex = '^[a-zA-Z0-9_-]+\z';
}
unless ($principal =~ /$regex/ and $instance =~ m%^([a-zA-Z0-9._-]+)?\z%) {
die "error: invalid character in principal name\n";