diff options
| -rw-r--r-- | ldap/servers/plugins/collation/collate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap/servers/plugins/collation/collate.c b/ldap/servers/plugins/collation/collate.c index 06bb556a..0314469d 100644 --- a/ldap/servers/plugins/collation/collate.c +++ b/ldap/servers/plugins/collation/collate.c @@ -456,13 +456,15 @@ collation_indexer_create (const char* oid) slapi_ch_calloc (1, sizeof (collation_indexer_t)); ix = (indexer_t*) slapi_ch_calloc (1, sizeof (indexer_t)); ucol_setAttribute (coll, UCOL_STRENGTH, profile->strength, &err); - if (err != U_ZERO_ERROR) { + if (err != U_ZERO_ERROR && err != U_USING_FALLBACK_WARNING + && (err != U_USING_DEFAULT_WARNING || !is_default)) { LDAPDebug (LDAP_DEBUG_ANY, "collation_indexer_create: could not " "set the collator strength for oid %s to %d: err %d\n", oid, profile->strength, err); } ucol_setAttribute (coll, UCOL_DECOMPOSITION_MODE, profile->decomposition, &err); - if (err != U_ZERO_ERROR) { + if (err != U_ZERO_ERROR && err != U_USING_FALLBACK_WARNING + && (err != U_USING_DEFAULT_WARNING || !is_default)) { LDAPDebug (LDAP_DEBUG_ANY, "collation_indexer_create: could not " "set the collator decomposition mode for oid %s to %d: err %d\n", oid, profile->decomposition, err); |
