aboutsummaryrefslogtreecommitdiff
path: root/perl/Wallet/Object/Keytab.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Wallet/Object/Keytab.pm')
-rw-r--r--perl/Wallet/Object/Keytab.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Wallet/Object/Keytab.pm b/perl/Wallet/Object/Keytab.pm
index ed998aa..fcd427a 100644
--- a/perl/Wallet/Object/Keytab.pm
+++ b/perl/Wallet/Object/Keytab.pm
@@ -36,7 +36,7 @@ $VERSION = '0.03';
# realm information here.
sub valid_principal {
my ($self, $principal) = @_;
- return scalar ($principal =~ m,^[\w-]+(/[\w_-]+)?\z,);
+ return scalar ($principal =~ m,^[\w-]+(/[\w_.-]+)?\z,);
}
# Run a kadmin command and capture the output. Returns the output, either as