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

(ITS#4543) LDAPv2 and referrals in ldapsearch output



Full_Name: Pierangelo Masarati
Version: HEAD
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.72.89.40)
Submitted by: ando


When using an LDAPv2 client, referrals are returned in the additional info
field, in form of a string containing newlines so that it "looks nice"; however,
recent ldapsearch appears to treat that string as LDIF and wraps it at column
78, resulting in things like

# search result
search: 2
result: 9 Partial results and referral received
text: Referral:
ldap://localhost:9011/dc=xxxxx,dc=com??sub
ldap://localhost:9
 012/dc=xxxxx,dc=com??sub

# numResponses: 1

which looks weird...

p.