Message-ID: Content-Type: multipart/alternative; boundary="_5a0a0d96-18b6-4dbe-b3f5-c78bfdd9346e_" From: Hisham Aziz Date: Thu, 31 May 2007 16:19:47 -0400 MIME-Version: 1.0 Subject: [Openvpn-devel] OPENVPN with OPENLDAP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net --_5a0a0d96-18b6-4dbe-b3f5-c78bfdd9346e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi...Im just starting out with Openvpn, recently figured out how to create = a tunnel connection between two machines. Now im wondering if i can use ope= nvpn to connect and authenticate with an LDAP and query it to find certain = objects with certain attribute using some sort of script. Basically Im aski= ng here is in a typical client.conf file for a OpenVpn client where would I= need to execute such a script to query the LDAP database and also what kin= d of script is best suited ( Perl, Python , SH, .bat ).SO the questions are= how do i do this and where in the file do i do this?Here is my client.ovpn= file. Obv it has to be changed, i was using this for making a simple serve= r/client tunnel with another machine using certs and keys on my etoken smar= tcards.**************************************************pullclientdev tunp= roto udpremote 128.100.103.211port 1194resolv-retry infinitenobindpersist-k= eypersist-tunverb 3ca "C:\\temp\\ca.crt"pkcs11-providers "C:\\PKI\\WC\\NSIS= \\eTpkcs11.dll"pkcs11-slot-type labelpkcs11-slot "eToken"pkcs11-id-type idp= kcs11-id 06*************************************************Thanks _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBR= E= --_5a0a0d96-18b6-4dbe-b3f5-c78bfdd9346e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi...

Im just starting out with Openvpn, recently figured out how to= create a tunnel connection between two machines. Now im wondering if i can= use openvpn to connect and authenticate with an LDAP and query it to find = certain objects with certain attribute using some sort of script. Basically= Im asking here is in a typical client.conf file for a OpenVpn client where= would I need to execute such a script to query the LDAP database and also = what kind of script is best suited ( Perl, Python , SH, .bat ).

SO t= he questions are how do i do this and where in the file do i do this?
He= re is my client.ovpn file. Obv it has to be changed, i was using this for m= aking a simple server/client tunnel with another machine using certs and ke= ys on my etoken smartcards.

****************************************= **********
pull
client

dev tun
proto udp
remote 128.100.= 103.211

port 1194
resolv-retry infinite
nobind

persist-= key
persist-tun
verb 3

ca "C:\\temp\\ca.crt"

pkcs11-pro= viders "C:\\PKI\\WC\\NSIS\\eTpkcs11.dll"
pkcs11-slot-type label
pkcs1= 1-slot "eToken"

pkcs11-id-type id
pkcs11-id 06
***************= **********************************


Thanks




Discover the new Windows Vista Learn more! = --_5a0a0d96-18b6-4dbe-b3f5-c78bfdd9346e_--