Hi Andrew,

The plugin segfaults because it needs a config file as a parameter.
It's not a nice behaviour, but not a critial one (since it needs a
config file to be useful).

Try:

openvpn --dev null --plugin /usr/lib/openvpn/openvpn-auth-ldap.so ldap.cf

Regards,

Alberto


On Tue, Oct 07, 2014 at 01:27:48PM -0600, Andrew Patterson wrote:
> Package: openvpn-auth-ldap
> Version: 2.0.3-5.1
> Tags: wheezy
> 
> The openvpn-auth plugin gets a segmentation fault at startup. This can
> be demonstrated with the following command:
> 
> # openvpn --dev null --plugin /usr/lib/openvpn/openvpn-auth-ldap.so
> Sat Oct  4 16:59:56 2014 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] 
> [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built 
> on Jun 18 2013
> Sat Oct  4 16:59:56 2014 IMPORTANT: OpenVPN's default port number is now 
> 1194, based on an official port number assignment by IANA.  OpenVPN 
> 2.0-beta16 and earlier used 5000 as the default port.
> Sat Oct  4 16:59:56 2014 NOTE: OpenVPN 2.1 requires '--script-security 2' or 
> higher to call user-defined scripts or executables
> Segmentation fault (core dumped)
> 
> Note this issue seems to be a duplicate of:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641811
> 
> The core dump shows:
> 
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `openvpn --dev null --plugin 
> /usr/lib/openvpn/openvpn-auth-ldap.so'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007fa3ad91df21 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
> #0  0x00007fa3ad91df21 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007fa3ad259184 in ?? () from /usr/lib/openvpn/openvpn-auth-ldap.so
> #2  0x00007fa3ad25c38b in ?? () from /usr/lib/openvpn/openvpn-auth-ldap.so
> #3  0x00007fa3ad255ea7 in openvpn_plugin_open_v1 ()
>    from /usr/lib/openvpn/openvpn-auth-ldap.so
> #4  0x00007fa3aeb2a214 in ?? ()
> #5  0x00007fa3aeafb1da in ?? ()
> #6  0x00007fa3aeafcbeb in ?? ()
> #7  0x00007fa3aeafd57f in ?? ()
> #8  0x00007fa3aeae8d14 in main ()
> 
> Details:
> 
> Debian wheezy 7.6.
> 
> ii  openvpn        2.2.1-8+deb7 amd64        virtual private network daemon
> ii  openvpn-auth-l 2.0.3-5.1    amd64        OpenVPN LDAP authentication modul
> 
> 
> 
> -- Andrew

-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
mailto/sip: a...@inittab.org | en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D  4BF2 009B 3375 6B9A AA55


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to