Commit 8eb2cfda authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Be less pedantic about emailaddress, so that GPO portal cerfificates

certificates are deemed legal.
parent 14d7f2b3
...@@ -150,7 +150,8 @@ sub email($) ...@@ -150,7 +150,8 @@ sub email($)
{ {
my ($self) = @_; my ($self) = @_;
if ($self->DN() =~ /\/emailAddress=(.*)/) { if ($self->DN() =~ /\/emailAddress=(.*)/ ||
$self->DN() =~ /^emailAddress=(.*),/) {
return $1 return $1
if ($1 ne ""); if ($1 ne "");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment