]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Choose a different field in X509 to be username
authorEmilien Mantel <emilien.mantel@businessdecision.com>
Thu, 17 Jun 2010 19:38:59 +0000 (21:38 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 17 Jun 2010 19:46:09 +0000 (21:46 +0200)
commit935c62be9c0c8a256112df818bfb8470586a23b6
treefc18cc3b6330bd0de8c536c60b905fb034ae2e6a
parentc5b7923a2b0a94d702e1dad59438f7ee75971d3b
Choose a different field in X509 to be username

For my company, we use a PKI (linked to a LDAP) with OpenVPN. We can't use "CN" to be
username (few people can have the same "CN"). In our case, we only use the UID.

With my patch, you can choose another field to be username with a new option called
--x509-username-field, the default value is "CN".

Signed-off-by: Emilien Mantel <emilien.mantel@businessdecision.com>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
options.c
options.h
ssl.c
ssl.h