| Ticket UUID: | b9a39c02c7855865fb48c32d1d4dcbf8ee22750b | |||
| Title: | ldap::search broken -- needs blocking socket | |||
| Type: | Bug | Version: | 1.16 | |
| Submitter: | mi | Created on: | 2015-05-19 19:04:49 | |
| Subsystem: | ldap | Assigned To: | aku | |
| Priority: | 8 | Severity: | Important | |
| Status: | Closed | Last Modified: | 2018-01-24 20:02:59 | |
| Resolution: | Duplicate | Closed By: | aku | |
| Closed on: | 2018-01-24 20:02:59 | |||
| Description: |
ldap::connect explicitly sets blocking to "no" for the socket, which can then cause ReceiveBytes to return "partial". Unfortunately, ldap::searchNext is not prepared to see "partial" in its request for 1 byte and throws a bogus error like: Error reading SEQUENCE response for handle ::ldap::ldapsock88654988 : partial : As a work-around I switch the "blocking" attribute of the handle's sock back to blocking in my own script after binding. Searches now work for me. But, obviously, this should not be necessary... | |||
| User Comments: |
aku added on 2018-01-24 20:02:59:
Having heard nothing back, now closing this as duplicate of [c247ed5db4]. aku added on 2017-11-01 22:53:24: This ticket is referenced by the new ticket [c247ed5db4]. A fix for that ticket was committed, see [8b8f10e2bb], on branch [fix-ldap-partial]. Please check if that fixes your issue as well. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki