Hi,
the first response is a LDAP Message (0x30) of length 12 (0x0C)
[https://directory.apache.org/api/internal-design-guide/4.2-asn1-ldap-message.html#ldapmessage],
replying to message #1 (0x02 0x01 0x01), and it's a BindResponse LDAP
Message (0x61) of length 7 (0x07)
[https://directory.apache.org/api/internal-design-guide/4.2-asn1-ldap-message.html#bindresponse-operation],
which LDAPResult result code is 49, ie invalid credentials
[https://directory.apache.org/api/internal-design-guide/4.2-asn1-ldap-message.html#ldapresult],
with no additional matched DN (0x04 0x00) nor diagnostic message (0x04 0x00)
On 4/14/26 13:52, 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 ?
>
> May someone here help me ?
>
> Thanks alot.
>