Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR - Ticket 50282 - OPERATIONS ERROR when trying to delete a group with automember members #3344

Closed
389-ds-bot opened this issue Sep 13, 2020 · 5 comments
Labels
merged Migration flag - PR pr Migration flag - PR

Comments

@389-ds-bot
Copy link

389-ds-bot commented Sep 13, 2020

Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50285

  • Created at 2019-03-14 17:47:22 by tbordaz (@tbordaz)
  • Merged at 2019-03-15 11:36:39

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.

Resolves: #3341

Reviewed by: ?

Platforms tested: F29

Flag Day: no

Doc impact: no

@389-ds-bot 389-ds-bot added merged Migration flag - PR pr Migration flag - PR labels Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-03-14 22:24:50

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!

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2019-03-15 00:10:40

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

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-03-15 11:35:43

rebased onto da7d2de

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-03-15 11:36:39

Pull-Request has been merged by tbordaz

@389-ds-bot
Copy link
Author

Patch
50285.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged Migration flag - PR pr Migration flag - PR
Projects
None yet
Development

No branches or pull requests

1 participant