threerings / openvpn-auth-ldap

Implements username/password authentication via LDAP for OpenVPN 2.x.
Other
135 stars 63 forks source link

Compile issue #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use centos 5 

 ./testplugin /etc/openvpn/servers/v2vpn03/auth-ldap.conf
Username:
Password:
testplugin: ../../../libraries/liblber/encode.c:288: ber_put_ostring:
Assertion `str != ((void *)0)' failed.
Aborted

Original issue reported on code.google.com by missne...@gmail.com on 9 Jul 2008 at 1:19

GoogleCodeExporter commented 9 years ago
I can't reproduce this on Mac OS X or FreeBSD, so I'll need to try installing 
Centos 5.

Original comment by landon.j.fuller@gmail.com on 26 Jul 2008 at 5:15

GoogleCodeExporter commented 9 years ago
I was unable to reproduce this with Centos 5.

Can you get a gdb backtrace? https://wiki.ubuntu.com/Backtrace has instructions 
on
how to do so.

Original comment by landon.j.fuller@gmail.com on 26 Jul 2008 at 6:53

GoogleCodeExporter commented 9 years ago
I use Red hat AS4. And I can't find "encode.c" in system.

 ./testplugin /etc/openvpn/servers/v2vpn03/auth-ldap.conf
Username:
Password:
testplugin: ../../../libraries/liblber/encode.c:288: ber_put_ostring:
Assertion `str != ((void *)0)' failed.
Aborted

Original comment by jerichen@gmail.com on 30 Oct 2008 at 10:42

GoogleCodeExporter commented 9 years ago
Workaround - 

I was getting this error (Ubuntu 8.04 LTS, x86_64) and was able to get past it 
by
entering a username and password for binding to the LDAP server (W2K3 AD) in the
<LDAP> section.

Backtrace attached.

Original comment by kba...@gmail.com on 23 Jan 2010 at 7:48

Attachments: