On Tue, Apr 14, 2026 at 08:52:01AM -0300, Gustavo Rios wrote:
Hi folks!
i am trying to connect to my ldap server and i am having as a response of the bind request the following messages:
/* Password: *p = "ypldapA4esupohopdV",
- result message : 30 c 2 1 1 61 7 a 1 31 4 0 4 0
- password : *p = "123456"
- return : 30 c 2 1 1 61 7 a 1 0 4 0 4 0
*/
The first attempt is when the wrong password is given, the second message is returned when the correct password is given.
I would like to understand the bytes returned in the bind response; what are the last 7 bytes of message response ?
Hi Gustavo, if you want to understand the wire protocol instead of using tools to handle it, you want to read RFC 4511 and explore ASN.1 BER.
But I would use Wireshark or others regardless, it will help you understand the workings of both much faster.
Regards,