-----Original Message-----
From: Shankhadeep Sen [mailto:shanks.iit@gmail.com]
Sent: Friday, January 30, 2009 1:25 PM
To: Christopher Barry
Subject: Re: ldap_bind fails in vpn tunnel
Hi Christopher,
Thanks for your email.It seems that
without TLS , the search works first but next when I initiate
a TLS session, the ldap api says "SERVER DOWN".I must mention
that the bandwidth is very low in that VPN tunnel and there
is only one route.
Now I used tcpdump to check the packets on port 389 , it
seems that there are a lot of packets being exchanged.My
guess is that because of the low b/w even if one packet gets
dropped because of router overflow, the SSL handshake will be
terminated.
What do you think?
Thanks,
Sankhadip
On Fri, Jan 30, 2009 at 9:05 AM, Christopher Barry
<christopher.barry(a)qlogic.com> wrote:
> -----Original Message-----
> From:
> openldap-technical-bounces+christopher.barry=qlogic.com@openld
>
ap.org
> [mailto:openldap-technical-bounces+christopher.barry
<mailto:openldap-technical-bounces%2Bchristopher.barry> =qlogic.co
> m(a)openldap.org] On Behalf Of Sankhadip Sengupta
> Sent: Friday, January 30, 2009 9:34 AM
> To: openldap-technical(a)openldap.org
> Subject: ldap_bind fails in vpn tunnel
>
> Hi,
>
> In a VPN tunnel, using TLS, ldap_search works but the
> ldap_bind fails with error :Can't contact LDAP server(-1).
>
> Can any one help me? I am using the openldap sdk.
>
> Thanks,
>
> Sankhadip
>
You might try putting the LDAP server's name and IP
address in the hosts file of the client.
-C