]> 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, 29 Apr 2010 18:22:28 +0000 (20:22 +0200)
commit3a11803add0f0e71aa40a2ee94c4e80fb7af63c7
treea614ab2798a76d72dc2c04bf4ead4e662b3cf87c
parent818a575a257975e3ca2e6f6f37f93804ee9e2d30
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