Message-ID: <1113995333.42663845ed602@...358...> From: Bram MIME-Version: 1.0 Subject: [Openvpn-devel] username-as-common-name: documentation error? Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Apr 20 04:11:41 2005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Hello, What is the option --username-as-common-name supposed to do? According to the manpage: 'For --auth-user-pass-verify authentication, use the authenticated username as the common name, rather than the common name from the client cert' I read this as: when the auth-user-pass-verify script is run the common name is the same as the username, but when other scripts are run it has it's original value. Am I mis-interpreting this? or is it a documentation-error? The openvpn howto seems to say something different: 'Such configurations should usually also set: username-as-common-name which will tell the server to use the username for indexing purposes as it would use the Common Name of a client which was authenticating via a client certificate.' But then the question is what is considered as an indexing purpose? It seems to me that after user/password authentication the username is used everywhere where the common name would have been used (scripts, ccd, ...). Is this assumption correct? Regards, Bram