#50285 Ticket 50282 - OPERATIONS ERROR when trying to delete a group with automember members
Closed by spichugi. Opened by tbordaz.
tbordaz/389-ds-base ticket_50282  into  master

Download 50285.patch

Bug Description:
When automember and memberof are enabled, if a user is member of a group
because of an automember rule. Then when the group is deleted,
memberof updates the member (to update 'memberof' attribute) that
trigger automember to reevaluate the automember rule and add the member
to the group. But at this time the group is already deleted.
Chaining back the failure up to the top level operation the deletion
of the group fails

Fix Description:
The fix consists to check that if a automember rule tries to add a user
in a group, then to check that the group exists before updating it.

https://pagure.io/389-ds-base/issue/50282

Reviewed by: ?

Platforms tested: F29

Flag Day: no

Doc impact: no

I wonder if this should be changed to SLAPI_LOG_PLUGIN, is it important enough to write it to the errors log by default? Other than that ack!

I agree with mark here, I think it's LOG_PLUGIN.

rebased onto da7d2de1f760844e023040c32be33834af5dad6b

Pull-Request has been merged by tbordaz

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3344

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata