Tcl Library Source Code

View Ticket
Login
Ticket UUID: 6c615f0a813612b4dd3e902545cc494f2daccde3
Title: ldap module doesn't handle $code "error" from server...
Type: Bug Version: ldap 1.9.2
Submitter: avl42 Created on: 2022-10-21 08:06:03
Subsystem: ldap Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2022-10-21 08:06:03
Resolution: None Closed By: nobody
    Closed on:
Description:
I got errors in my log saying:

Protocol error: Error reading SEQUENCE response for handle 
   ::ldap::ldapsock** : error : 
   562727f627022756164696e676022237f636b65626631346432343930322a30237f6664777162756023616573756460236f6e6e656364796f6e6021626f62747

Apparently, the server sends "error" for the code, which falls
through to the default-branch of the switch in ldap::MessageReceiver.

I don't really know what else could be done for "error" from server,
but I could prepare specific logging on request, so I might get more
info next time it happens.

It is possible that one of the servers may be malfunctioning, or that
it is running a newer or older version of Windows (they're domain
controllers, randomly picked by name-resolution)