Bug 1446620

Summary: Cannot remove Active Directory user accounts using GUI (or cli)
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: accountsserviceAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.4CC: dblechte, desktop-qa-list, ebenes, hakan.hagenrud, mclasen, oholy, rstrode, tpelka, vbenes, vbudikov, vrutkovs
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: accountsservice-0.6.45-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1141949 Environment:
Last Closed: 2017-08-01 22:40:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1141949    
Bug Blocks:    

Comment 2 Vladimir Benes 2017-04-28 12:50:17 UTC
This got broken again, I can provide test env upon request.

Comment 3 Ondrej Holy 2017-04-28 15:47:19 UTC
It works correctly to me if I downgrade accountsservice to 0.6.35-12, but it doesn't work with 0.6.45-1. Also the following doesn't work:
dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts org.freedesktop.Accounts.UncacheUser string:"user@realm" 

So I suppose it is bug in accountsservice. Maybe some patches which were backported due to Bug 1244932 are not yet part of the rebased version?

Comment 4 Ondrej Holy 2017-05-02 09:21:24 UTC
This is caused by the following commit:
https://cgit.freedesktop.org/accountsservice/commit/?id=177509e9460b149ecbf85e75c930be2ea00b7d05

Just a note that deleted accounts disappear from cache after restarting of accounts-daemon service...

Comment 6 Vladimir Benes 2017-06-07 22:23:56 UTC
This works well with freeIPA users.

Comment 7 errata-xmlrpc 2017-08-01 22:40:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2096