Parse x.500 DN and change order displayed



I am trying to change this

"cn=Bob Smith+serialNumber=CR013120080827,o=ICM,c=US"

to this:

"serialNumber=CR013120080827+cn=Bob Smith,o=ICM,c=US"

There are about 2000 entries like this and I need to have them all
displayed with serialNumber first, and cn last then the rest of the
DN, the names and serialNumbers are all unique to each entry.

Any help would be great

Thanks,
gotsecure
.



Relevant Pages

  • Re: Parse x.500 DN and change order displayed
    ... S> There are about 2000 entries like this and I need to have them all ... S> displayed with serialNumber first, and cn last then the rest of the ... but that is about the same amount of code. ...
    (comp.lang.perl.misc)
  • Re: Parse x.500 DN and change order displayed
    ... S> There are about 2000 entries like this and I need to have them all ... S> displayed with serialNumber first, and cn last then the rest of the ... but that is about the same amount of code. ...
    (comp.lang.perl.misc)
  • parse x.500 DN and change order displayed
    ... There are about 2000 entries like this and I need to have them all ... displayed with serialNumber first, and cn last then the rest of the ... the names and serialNumbers are all unique to each entry. ...
    (perl.beginners)
  • Re: parse x.500 DN and change order displayed
    ... There are about 2000 entries like this and I need to have them all ... displayed with serialNumber first, and cn last then the rest of the ... the names and serialNumbers are all unique to each entry. ... Peter Scott ...
    (perl.beginners)