/[smecontribs]/rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch
ViewVC logotype

Annotation of /rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Mar 3 21:14:34 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-49_el5_sme, smeserver-openvpn-bridge-2_0-55_el5_sme, smeserver-openvpn-bridge-2_0-48_el5_sme, smeserver-openvpn-bridge-2_0-56_el5_sme, smeserver-openvpn-bridge-2_0-51_el5_sme, smeserver-openvpn-bridge-2_0-52_el5_sme, smeserver-openvpn-bridge-2_0-53_el5_sme, smeserver-openvpn-bridge-2_0-54_el5_sme, smeserver-openvpn-bridge-2_0-47_el5_sme, smeserver-openvpn-bridge-2_0-50_el5_sme, HEAD
Initial import

1 unnilennium 1.1 --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/40userAuth.openvpn_2_1_compat 2008-12-03 10:29:13.000000000 +0100
2     +++ smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/40userAuth 2009-03-11 18:11:06.000000000 +0100
3     @@ -2,7 +2,9 @@
4     {
5     my $userAuth = ${'openvpn-bridge'}{userAuth} || 'CrtWithPass';
6     if ($userAuth eq 'CrtWithPass'){
7     - $OUT .= "plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so login\n";
8     + my $plugin_dir = (-d "/usr/share/openvpn/plugin/lib") ?
9     + '/usr/share/openvpn/plugin/lib':'/usr/lib/openvpn/plugin/lib';
10     + $OUT .= "plugin ".$plugin_dir."/openvpn-auth-pam.so login\n";
11     }
12     $OUT .= '';
13     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed