LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 11th, 2004, 01:07 PM
gator98 gator98 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 gator98 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
LDAP connection timeout setting

Hi,

I have created an ldap client. However, I have encountered an issue where the connections hangs at unspecified times. If I do a netstat on the port of the ldaplserver, the connections seem to be still established. Thus, these connections seem to be ghost connections.

Can someone shed some light as to
1. why this occurs
2. what I could to do resolve this issue.

the LDAP JNDI (sun) API does not really provide a timeout setting to disconnect the connections. It does provide the following:
com.sun.jndi.ldap.connect.timeout, but I do not think this is the correct timeout property that I am looking for.

Thanks in advance for your help!!
Sam

Reply With Quote
  #2  
Old June 28th, 2004, 09:23 PM
ldap4u's Avatar
ldap4u ldap4u is offline
Chris Larivee
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Littleton, CO
Posts: 72 ldap4u User rank is Private First Class (20 - 50 Reputation Level)ldap4u User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 h 49 m 14 sec
Reputation Power: 10
Send a message via MSN to ldap4u
Your LDAP administrator(s) should be setting a timeout value on their servers. Failing to set this parameter at the server level could lead to service attacks or unplanned interruptions. You could and should push back on them to set a timeout setting. However if you are failing to connect on the client side and experiencing hanging during connection attempts I think you should be using the com.sun.jndi.ldap.connect.timeout ...

good luck ...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP connection timeout setting

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap