Closed Bug 129107 Opened 23 years ago Closed 14 years ago

unknown error returned when LDAP tools fail to connect

Categories

(Directory :: LDAP Tools, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 206018
Future

People

(Reporter: mcs, Assigned: mcs)

Details

(Whiteboard: needs work)

ldapsearch and friends fail this way if they fail to connect due to a TCP timeout: ldap_simple_bind: Can't connect to the LDAP server - unknown error I suspect the problem is that the tools use NSPR (via the prldap layer) but do not retrieve the NSPR error code. But that is just a theory. Reproduce by issuing a command with an IP address that can't be found, e.g., ldapsearch -h 0.0.0.1 -s base -b '' ''
Priority: -- → P3
Target Milestone: --- → Future
Priority: P3 → P2
Priority: P2 → P3
Whiteboard: needs work
Spam for bug 129472
QA Contact: nobody → nobody
is the jist of this, that the user should be told "TCP timeout" instead of unknown error?
QA Contact: nobody → tools
I think we had same problem in TB in past, but can't find bug about that. Because if i remember correctly this was fixed since 3.0 released in ldap code.
are you thinking of Bug 206018? ldap connections not close properly, LDAP/SSL triggers internal failure error message all ldap bugs fixed since mid 2007 http://bit.ly/bCcrKB
(In reply to comment #4) > are you thinking of Bug 206018? yep
(In reply to comment #5) > (In reply to comment #4) > > are you thinking of Bug 206018? > yep
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.