==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=7658
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #2 from Xavier <[email protected]> ---
Hi all,
The bug is located in the template
/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/40userAuth
where they are no mention about 64 bits libs but only 32 bits libs :
# Plugin for user-auth
{
my $userAuth = ${'openvpn-bridge'}{userAuth} || 'CrtWithPass';
if ($userAuth eq 'CrtWithPass'){
my $plugin_dir = (-d "/usr/share/openvpn/plugin/lib") ?
'/usr/share/openvpn/plugin/lib':'/usr/lib/openvpn/plugin/lib';
$OUT .= "plugin ".$plugin_dir."/openvpn-auth-pam.so login\n";
}
$OUT .= '';
}
to make work openvpn-bridge we have to create a template custom
/etc/e-smith/templates-custom/etc/openvpn/bridge/openvpn.conf/40userAuth
where we have to change /usr/lib to /usr/lib64
# Plugin for user-auth
{
my $userAuth = ${'openvpn-bridge'}{userAuth} || 'CrtWithPass';
if ($userAuth eq 'CrtWithPass'){
my $plugin_dir = (-d "/usr/share/openvpn/plugin/lib") ?
'/usr/share/openvpn/plugin/lib':'/usr/lib64/openvpn/plugin/lib';
$OUT .= "plugin ".$plugin_dir."/openvpn-auth-pam.so login\n";
}
$OUT .= '';
}
in conclusion we need a patch for this contrib but I didn't have the time to
propose one except that we need a "if then else" to determine if the system is
a 32 or a 64 bits system and where to find the libs.
Best regards
Xavier
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/