Re: [Freeipa-users] unable to delete a user - which has a double??
On 01/02/17 19:16, Martin Basti wrote: Hello, you have to use ldapdelete command and remove it manually Martin and the user's group? I'm using a gui and it protests: .. Deleting a managed entry is not allowed. It needs to be manually unlinked first.] .. I've already have the user removed. Would be great if coming new versions account for this situation and provide users/admin with tool(s) that can take care of. many thanks, L. On 01.02.2017 19:30, lejeczek wrote: hi all, take a look: $ ipa user-find --uid 3501 -- 1 user matched -- User login: appmgr First name: app Last name: developer Home directory: /home.sysops/appmgr Login shell: /bin/bash Principal alias: appmgr@PRIVATE Email address: appmgr@private UID: 3501 GID: 3501 Account disabled: False $ ipa user-find --uid 1104 -- 1 user matched -- User login: appmgr First name: app Last name: devel 1 Home directory: /home.sysops/appmgr Login shell: /bin/bash Principal alias: appmgr@PRIVATE Email address: appmgr@private UID: 1104 GID: 1104 Account disabled: False Number of entries returned 1 I think it had something to do with an initial(long time ago) migration. How to safely delete such a user? Or one of them? $ ipa user-del appmgr --no-preserve ipa: ERROR: The search criteria was not specific enough. Expected 1 and found 2. many thanks, L. -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] unable to delete a user - which has a double??
On 01/02/17 19:12, Jochen Hein wrote: Hi lejeczekwrites: I think it had something to do with an initial(long time ago) migration. How to safely delete such a user? Or one of them? $ ipa user-del appmgr --no-preserve ipa: ERROR: The search criteria was not specific enough. Expected 1 and found 2. Did you try "--continue"? nope, --continue won't help, at least with 4.4 You can check both users with "ipa user-find ... --all" and look for the ipauniqueid. I think you'll can remove the user with ldapremove. Jochen -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] unable to delete a user - which has a double??
Hi lejeczekwrites: > I think it had something to do with an initial(long time ago) > migration. > How to safely delete such a user? Or one of them? > > $ ipa user-del appmgr --no-preserve > ipa: ERROR: The search criteria was not specific enough. Expected 1 > and found 2. Did you try "--continue"? You can check both users with "ipa user-find ... --all" and look for the ipauniqueid. I think you'll can remove the user with ldapremove. Jochen -- The only problem with troubleshooting is that the trouble shoots back. -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
Re: [Freeipa-users] unable to delete a user - which has a double??
Hello, you have to use ldapdelete command and remove it manually Martin On 01.02.2017 19:30, lejeczek wrote: hi all, take a look: $ ipa user-find --uid 3501 -- 1 user matched -- User login: appmgr First name: app Last name: developer Home directory: /home.sysops/appmgr Login shell: /bin/bash Principal alias: appmgr@PRIVATE Email address: appmgr@private UID: 3501 GID: 3501 Account disabled: False $ ipa user-find --uid 1104 -- 1 user matched -- User login: appmgr First name: app Last name: devel 1 Home directory: /home.sysops/appmgr Login shell: /bin/bash Principal alias: appmgr@PRIVATE Email address: appmgr@private UID: 1104 GID: 1104 Account disabled: False Number of entries returned 1 I think it had something to do with an initial(long time ago) migration. How to safely delete such a user? Or one of them? $ ipa user-del appmgr --no-preserve ipa: ERROR: The search criteria was not specific enough. Expected 1 and found 2. many thanks, L. -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project