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 ?
May someone here help me ?
Thanks alot.
Did you paste that in a (free) ai? They are quite good translating errors.
-----Original Message----- From: Gustavo Rios rios.gustavo@gmail.com Sent: Tuesday, 14 April 2026 13:52 To: openldap-technical@openldap.org Subject: ldap bind response message
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 ?
May someone here help me ?
Thanks alot.
--
In software systems the price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find most hard to pay.
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,
openldap-technical@openldap.org