diff options
Diffstat (limited to 'perl/Wallet')
| -rw-r--r-- | perl/Wallet/Policy/Stanford.pm | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/perl/Wallet/Policy/Stanford.pm b/perl/Wallet/Policy/Stanford.pm index 4386594..72abd09 100644 --- a/perl/Wallet/Policy/Stanford.pm +++ b/perl/Wallet/Policy/Stanford.pm @@ -266,6 +266,10 @@ sub verify_name {              if ($instance !~ /^[a-z0-9-]+\.[a-z0-9.-]+$/) {                  return "host name $instance is not fully qualified";              } +        } elsif ($principal eq 'afs') { +            if ($instance !~ /^[a-z0-9-]+\.[a-z0-9.-]+$/) { +                return "AFS cell name $instance is not fully qualified"; +            }          } elsif ($principal eq 'service') {              if ($instance !~ /^[a-z0-9-]+$/) {                  return "invalid service principal name $name"; | 
