]> 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, 21 Oct 2010 19:26:59 +0000 (21:26 +0200)
commit2e8337de248ef0b5b48cbb2964da0d5c3f28b15b
tree7f21b614c1c950cd0a8d9b521bf0d51205289027
parent8bebb729a53ae423d0867648f0c12868a96cafde
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