#240 Deleting Users that are Out of ID range - does not delete the users' home directories
Closed: Fixed Opened by jgalipea.

Description[[BR]]

Using the sss utilities to delete users that are not within min_id and max_id range, deletes the users but does not delete the users' home directory.[[BR]]

Steps to Reproduce[[BR]]

  1. install sssd and configure local domain with id range 1000 1003[[BR]]

  2. add two users using sss_useradd[[BR]]

  3. check that user directories were created[[BR]]

  4. edit the sssd.conf and change the min_id to 2000 and max_id to 2003 and restart sssd[[BR]]

  5. getent -s sss for the users to make sure they are not returned[[BR]]

  6. delete the users and verify they were deleted[[BR]]

  7. verify their home directories were deleted[[BR]]

EXPECTED RESULTS:[[BR]]

home directories were deleted[[BR]]

ACTUAL RESULTS:

home directories are not deleted[[BR]]

Version[[BR]]
sssd-0.7.0-0.2009102216gitc2d7b22.el5[[BR]]
sssd-client-0.7.0-0.2009102216gitc2d7b22.el5


Fields changed

owner: somebody => jhrozek

Moving the target to RC - all tools bugs should be fixed by RC to have the strings in place for translators.

milestone: SSSD 1.0 => SSSD 1.0 RC

This was actually a different bug -- the users should not have been deleted in the first place if they are out of range.

Fixed in 73df935dab319ce413a8927bbae0a991008b5d07

fixedin: => 1.0.0rc
resolution: => fixed
status: new => closed
tests: 0 => 1
testsupdated: 1 => 0

automated test for this exists.

tests: 1 => 0

Fields changed

testsupdated: 0 => 1

Fields changed

rhbz: => 0

Metadata Update from @jgalipea:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.0 RC

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1282

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata