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

build / test case failure - certificate (ITS#2933)

Full_Name: Dan Cunningham
Version: 2.2.5
OS: Solaris 5.9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

The test case script "test021-certificate" appears to fail.
A diff between ldapsearch.flt and ldif.flt shows:
> dn: o=University of Michigan,c=US

The problem appears to be with the $CERT string and the "echo" command. 
The last ldapsearch done by this script uses echo to put a comment into the
output which contains the $CERT string used in the search:

echo "# (cAcertificate;binary:certificateMatch:=$CERT)" >> $SEARCHOUT

This $CERT string contains sequences such as '\c' which are interpreted as
special characters (ie. carriage return) by the Solaris SysV implementation of
This results in bogus output which causes the test case to fail, even though
ldap is working correctly.