]> git.ipfire.org Git - thirdparty/openvpn.git/commit
When I began testing OpenVPN v2.1_rc9 I was having trouble authenticating to the...
authorDaniel Johnson <Progman2000@usa.net>
Tue, 30 Mar 2010 13:54:44 +0000 (15:54 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 09:35:08 +0000 (11:35 +0200)
commitff99a3b5fc5f99deddaf1ab85115affec9b9e276
treeeb25e2615f14426990a5ea0c0501c4bf415818e7
parentafa7ddf083bbee1ed0a88a7cea079cd818eb9e70
When I began testing OpenVPN v2.1_rc9 I was having trouble authenticating to the MS Active Directory through auth-pam and Samba. I used the following line in my configs (without the linebreak of course):

plugin /opt/openvpn/openvpn-auth-pam.so
                   "openvpn login OURDOMAIN+USERNAME password PASSWORD"

Finally I turned on more verbose logging and found that the plugin did
not recognize "USERNAME" as something to replace, because it expected
the string to be surrounded by whitespace.  I wrote the following patch
to correct this.  I hope you find it useful,

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
plugin/auth-pam/auth-pam.c