diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-04-27 11:50:43 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-04-27 11:50:43 -0700 |
commit | 0501282a9042af77c20b793645a5b241082a08b5 (patch) | |
tree | b3a720350ca913986e25cf72766808c9623b891a /ldap/ldif | |
parent | b65b3c97847edefe8e9242e5bac294dd13e73234 (diff) | |
download | ds-0501282a9042af77c20b793645a5b241082a08b5.tar.gz ds-0501282a9042af77c20b793645a5b241082a08b5.tar.xz ds-0501282a9042af77c20b793645a5b241082a08b5.zip |
574167 - An escaped space at the end of the RDN value is not
handled correctly
https://bugzilla.redhat.com/show_bug.cgi?id=574167
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.
Diffstat (limited to 'ldap/ldif')
-rw-r--r-- | ldap/ldif/template-suffix-db.ldif.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/ldif/template-suffix-db.ldif.in b/ldap/ldif/template-suffix-db.ldif.in index 1b978266..1bcc5c2b 100644 --- a/ldap/ldif/template-suffix-db.ldif.in +++ b/ldap/ldif/template-suffix-db.ldif.in @@ -21,6 +21,7 @@ dn: cn="%ds_suffix%",cn=mapping tree,cn=config objectclass: top objectclass: extensibleObject objectclass: nsMappingTree +cn: %ds_suffix% cn: "%ds_suffix%" nsslapd-state: backend nsslapd-backend: %ds_bename% |