Merges: https://pagure.io/libuser/issue/39
Changes the libuser default to disallow duplicate IDs when adding or modifying users and groups.
Also adds test cases to test the new behaviour and fixes two existingtest which relied on the old behaviour.
Commit 8349f855 fixes this pull-request
Pull-Request has been merged by thalman
Merges:
https://pagure.io/libuser/issue/39
Changes the libuser default to disallow duplicate IDs when adding or modifying users and groups.
Also adds test cases to test the new behaviour and fixes two existingtest which relied on the old behaviour.