pyshcoder / openvpn-auth-ldap

Automatically exported from code.google.com/p/openvpn-auth-ldap
Other
0 stars 0 forks source link

openldap integration with Openvpn #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configured the openvpn 
2. configured the openldap
3. struck with integrating this two with open-auth-ldap.conf
   not sure how to proceed?

What is the expected output? What do you see instead?
as such no output

What version of the product are you using? On what operating system?

ubuntu 8.04 LTs Server 

Please provide any additional information below.

Original issue reported on code.google.com by Manj...@gmail.com on 21 Aug 2009 at 1:48

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start openvpn server with openvpn-plugin

What is the expected output? What do you see instead?

Aug 28 10:28:36 appsrv ovpn-localhost[1581]: PLUGIN_INIT: could not load plugin
shared object /usr/local/lib/openvpn-auth-ldap.so: libldap-2.3.so.0: cannot open
shared object file: No such file or directory

adam@appsrv:~/auth-ldap-2.0.3$ sudo ldd /usr/local/lib/openvpn-auth-ldap.so 
        linux-vdso.so.1 =>  (0x00007fffa19fe000)
        libldap-2.3.so.0 => not found
        liblber-2.3.so.0 => not found
        libobjc.so.2 => /usr/lib/libobjc.so.2 (0x00007f7099456000)
        libc.so.6 => /lib/libc.so.6 (0x00007f70990f4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f7098ee6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f709989a000)

What version of the product are you using? On what operating system?

ubuntu 8.04.3 LTs Server 

Please provide any additional information below.

This is a basic ubuntu server with Zimbra OS latest version. 

Original comment by csaba.ro...@gmail.com on 28 Aug 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Looks like you need to install the openldap (might be called libldap) client 
library
package for your distribution (and whatever package provides liblber).

Did you get the plugin file from a package, or did you build it yourself from 
source?

Original comment by elij...@gmail.com on 1 Jan 2010 at 12:40

GoogleCodeExporter commented 9 years ago
All done. Thx for tip ;)

Ubuntu 8.04LTS + Release 5.0.18_GA_3011.UBUNTU8 UBUNTU8 FOSS edition + openvpn
2.1~rc7-1ubuntu3.5

./configure --prefix=/usr/local --with-openldap=/opt/zimbra/openldap-2.3.43.10z/
--with-openvpn=/usr/include/openvpn

sudo apt-get install libldap2-dev

sudo ln -s /usr/lib/libldap-2.4.so.2 /usr/lib/libldap-2.3.so.0

sudo ln -s /usr/lib/liblber-2.4.so.2 /usr/lib/liblber-2.3.so.0

Original comment by csaba.ro...@gmail.com on 15 Mar 2010 at 8:22