User "caesar" does not exist.
I got:
ipa user-del caesar brutus --continue --preserve ipa: ERROR: no such entry
Expected result:
ipa user-del caesar brutus --continue --preserve ------------------- Deleted user "brutus" ------------------- Failed to remove: caesar
This also does not work, user-del --preserve with more users, deletes only first one, ignore others.
$ ipa user-del jsmith jdoe --preserve --------------------- Deleted user "jsmith" --------------------- $ ipa user-show jdoe User login: jdoe First name: John Last name: Doe Home directory: /home/jdoe Login shell: /bin/sh Email address: jdoe@example.com UID: 1938400011 GID: 1938400011 Account disabled: False Password: False Member of groups: ipausers $ ipa user-show jsmith User login: jsmith First name: Jenny Last name: Smith Home directory: /home/jsmith Login shell: /bin/sh Email address: jsmith@example.com UID: 1938400010 GID: 1938400010 Account disabled: True *Preserved user: True* Password: False Kerberos keys available: False
Fixed together with #5234.
Commits: master:
ipa user-del --preserve
ipa-4-2:
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1252334 (Red Hat Enterprise Linux 7)
Metadata Update from @mbasti: - Issue assigned to mbabinsk - Issue set to the milestone: FreeIPA 4.2.1
Login to comment on this ticket.