[Fedora-directory-commits] ldapserver/ldap/servers/plugins/syntaxes string.c, 1.5, 1.6
Noriko Hosoi (nhosoi)
fedora-directory-commits at redhat.com
Mon Nov 6 20:51:33 UTC 2006
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/cm/newinst ux-dialog.cc, 1.9, 1.10 ux-dialog.h, 1.4, 1.5
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd attrlist.c, 1.5, 1.6 entry.c, 1.10, 1.11 proto-slap.h, 1.23, 1.24 slap.h, 1.17, 1.18 slapi-plugin.h, 1.11, 1.12 value.c, 1.4, 1.5 valueset.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/syntaxes
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14694/servers/plugins/syntaxes
Modified Files:
string.c
Log Message:
Resolves: #199923
Summary: subtree search fails to find items under a db containing special characters (Comment#16)
Description: When dn contains rdn which includes '\\', it was escaped twice to generate a key for entrydn and caused mismatch in forming ancestorid index. It ends up the subtree search fail.
Index: string.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/syntaxes/string.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- string.c 19 Apr 2005 22:07:35 -0000 1.5
+++ string.c 6 Nov 2006 20:51:30 -0000 1.6
@@ -319,8 +319,10 @@
for ( i = 0; i < numbvals; i++ )
{
- c = slapi_ch_strdup(slapi_value_get_string(bvals[i]));
- value_normalize( c, syntax, 1 /* trim leading blanks */ );
+ c = slapi_ch_strdup(slapi_value_get_string(bvals[i]));
+ /* if the NORMALIZED flag is set, skip normalizing */
+ if (!(slapi_value_get_flags(bvals[i]) & SLAPI_ATTR_FLAG_NORMALIZED))
+ value_normalize( c, syntax, 1 /* trim leading blanks */ );
nbvals[i] = slapi_value_new_string_passin(c);
}
nbvals[i] = NULL;
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/cm/newinst ux-dialog.cc, 1.9, 1.10 ux-dialog.h, 1.4, 1.5
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/slapd attrlist.c, 1.5, 1.6 entry.c, 1.10, 1.11 proto-slap.h, 1.23, 1.24 slap.h, 1.17, 1.18 slapi-plugin.h, 1.11, 1.12 value.c, 1.4, 1.5 valueset.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list