Bug 1141949
| Summary: | Cannot remove Active Directory user accounts using GUI (or cli) | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Håkan Hagenrud <hakan.hagenrud> | |
| Component: | control-center | Assignee: | Ray Strode [halfline] <rstrode> | |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.2 | CC: | dblechte, ebenes, mclasen, oholy, tpelka, vbenes, vbudikov, vrutkovs | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | control-center-3.14.5-4.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1244932 1446620 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 08:25:32 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: | ||||
| Bug Blocks: | 1446620 | |||
|
Description
Håkan Hagenrud
2014-09-15 20:37:06 UTC
*** Bug 1060183 has been marked as a duplicate of this bug. *** this still seems to be buggy: 1. create ipa setup with an enterprise user (EU) 2. add EU via gnome-initial-setup 3. log in the EU via gdm 4. log out 5. log in other user 6. go to control-center 7. unlock in users area 8. press - to delete EU no luck, no error, nothing... (In reply to Vladimir Benes from comment #6) > this still seems to be buggy: > > 1. create ipa setup with an enterprise user (EU) > 2. add EU via gnome-initial-setup > 3. log in the EU via gdm > 4. log out > 5. log in other user > 6. go to control-center > 7. unlock in users area > 8. press - to delete EU > > no luck, no error, nothing... actually it works now.. something had to be incorrect previously. tested under root and wheel user. moving back to ON_QA uff, so I have slightly more details, after logging the EU and relogging as other user (non root non wheel) I cannot delete the EU. so moving back to ASSIGNED It seems to me it isn't possible to remove enterprise user account once the enterprise user has been logged in to the system (I think it is independent on non root or non wheel). It is also reproducible on Fedora 22. control-center removes the account from permitted logins using realmd and uncache user from the accountsservice. Account is successfully removed from permitted logins (see "realm list") and also successfully uncached (see "/var/lib/AccountsService/users"). Consequently it isn't possible to log in as the enterprise user anymore, however accountsservice still see the account from some reason... So I suppose this is rather realmd, or accountsservice bug. Ray, what do you think? (In reply to Ondrej Holy from comment #10) > It seems to me it isn't possible to remove enterprise user account once the > enterprise user has been logged in to the system (I think it is independent > on non root or non wheel). It is also reproducible on Fedora 22. However it isn't possible to create new enterprise accounts using control-center in Fedora 22 currently due to: https://bugzilla.gnome.org/show_bug.cgi?id=752405 presumably the user is in wtmp so showing up that way. indeed, sudo rm -f /var/log/wtmp makes it start working. two ideas: 1) make UncacheUser keep the cache file around but mark the user as uncached so the user gets filtered from the results even if wtmp records the user 2) prune the user from wtmp The latter I don't like since wtmp is a historical record. Anyway the control-center part of this is done and working (provided wtmp gets removed), so will clone for accountsservice 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://rhn.redhat.com/errata/RHBA-2015-2157.html |