https://bugs.openldap.org/show_bug.cgi?id=8255
--- Comment #7 from Howard Chu hyc@openldap.org --- (In reply to Ondřej Kuzník from comment #6)
str2result() doesn't expect "msgid:" to be passed in the response, even though that's part of the protocol as documented.
Incorrect. The docs clearly show msgid: is not part of the response message.
The commands - except unbind - should output: RESULT code: <integer> matched: <matched DN> info: <text> where only RESULT is mandatory, and then close the socket. <<<<
The msgid: is only included in messages from back-sock to the external program.
There is no bug in back-sock or in its documentation.