[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_parse_intermediate() is not compliant with LDAP Intermediate Response RFC (ITS#3381)



Full_Name: RAVI CR
Version: 2.2.15
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (202.144.86.147)


During my investigation I found out that there are couple of mismatches
between  C LDAP SDK API'S and the RFC3771
In Open LDAP :
ldap_parse_intermediate() API  (file  extended.c   libraries/libldap
folder version 1.30) has wrong tag values 

It is expecting: 
responseName   :  LDAP_TAG_EXOP_RES_OID ---- which is   0x8a
responseValue   :  LDAP_TAG_EXOP_RES_VALUE ---- which is  0x8b

According to the : RFC 3771 - The Lightweight Directory Access Protocol
(LDAP) Intermediate Response Message

responseName   :  should be  0x80
responseValue   :  should be  0x81

Kurt Response via mail:

For this I rather you file an ITS report on this one.  As
our server returns intermediate responses, we'll want to
do a bit more work to ensure backwards compatibility.