Hi,
Related to my previous patch, we talked about renaming all "common_name"
vars et functions.
My first suggestion was to rename it "username", but it's too vague.
Alon and David suggested to use "x509_" as prefix for this "new" var name.
But it seems to me, the server verification is done in the client side.
The client reads the server's cert too. So I not agree to call it
"x509_clientid" or "x509_clientref".
I thinked to call it "x509_rdn", but the OpenVPN code doesn't extract
the RDN (but it's done in most of cases).
I suggest to call it "x509_primary_identifier", it's generic.
If you agree, I can prepare a patch soon based in allmerged tree.
Best regards,
--
Emilien Mantel