https://bugzilla.redhat.com/show_bug.cgi?id=574167
https://bugzilla.redhat.com/attachment.cgi?id=409555&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=409555&action=edit
Files:
ldap/ldif/template-suffix-db.ldif.in
ldap/servers/slapd/dn.c
Bug Description: If a DN contains "\ " at the end of its RDN,
it's be converted to "\20" by slapi_dn_normalize_ext in the
add operation. But the following search returns ' ' (not
an escaped space).
Fix Description: When slapi_dn_normalize_ext was applied to a
string which contains "\20", it converted the string to ' '.
This fix changes the behaviour so that the string "\20" in
DN remains untouched.
Also, this patch includes a fix to add a default suffix value
with no double quotes in template-suffix-db.ldif.in. We keep
double quoted suffix for the backward compatibility.