Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 5052 - BUG - Custom filters prevented entry deletion (#5060)
Bug Description: When a custom filter was provided, entries which were deleted in AD did not have that event correctly reflected in 389-ds. This was due to the behaviour that when an entry in AD is deleted, it is marked with a "deleted" flag which the objectClass=* filter would (accidentally) collect when it did a search. However, a custom user filter being specified would in some cases (such as a memberOf filter) NOT show up the deletion since the entry was considered to have moved out of scope rather than being a full delete. Fix Description: In the case that we have a userfilter, we wrap it in an OR condition that always requests isDeleted flags so that we can correctly reflect the delete status. fixes: #5052 Author: William Brown <william@blackhats.net.au> Review by: @mreynolds389 @tbordaz
- Loading branch information