Bug Description:
When configured 'nsslapd-verify-filter-schema: warn' a filter component containing an unkwown
attribute is flagged SLAPI_FILTER_INVALID_ATTR. This is flagged in the early steps of the SRCH
before the SRCH lands into the backend callback and evaluates IDL.
Later in backend callback, flag SLAPI_FILTER_INVALID_ATTR returns an empty IDL.
This should not be an empty IDL because it is configured as WARNING only. So it should be
the normal result of the index (if it exists) lookup.
Fix Description:
If we are in WARNING mode, just flag the operation (in frontend) so that 'Note=F' will be logged.
Then let the operation going on normally, even if it leads to an unindexed search.
The fix also contains a part of the testcase because search with only one unindexed component
is logged with 'notes=U...'
Bug Description:
When configured 'nsslapd-verify-filter-schema: warn' a filter component containing an unkwown
attribute is flagged SLAPI_FILTER_INVALID_ATTR. This is flagged in the early steps of the SRCH
before the SRCH lands into the backend callback and evaluates IDL.
Later in backend callback, flag SLAPI_FILTER_INVALID_ATTR returns an empty IDL.
This should not be an empty IDL because it is configured as WARNING only. So it should be
the normal result of the index (if it exists) lookup.
Fix Description:
If we are in WARNING mode, just flag the operation (in frontend) so that 'Note=F' will be logged.
Then let the operation going on normally, even if it leads to an unindexed search.
The fix also contains a part of the testcase because search with only one unindexed component
is logged with 'notes=U...'
https://pagure.io/389-ds-base/issue/50727
Reviewed by: ?
Platforms tested: F30
Flag Day: no
Doc impact: no