Learn more about these different git repos.
Other Git URLs
Description:
Attempting to modify a local user that doesn't exist results in the following error message:
Could not modify user - check if group names are correct
Expected:
Could not modify user - check if user name is correct
Steps to reproduce:[[BR]] 1. install sssd and configure LOCAL domain[[BR]] 2. sss_usermod -c "Non-Existing User" baduser
Version:[[BR]] sssd-2009081101-0.fc11.i586
Fields changed
owner: somebody => jhrozek
milestone: SSSD 1.0 => Iteration 6
Fixed in: d0682cb
fixedin: => 0.5.0 resolution: => fixed status: new => closed
Sorry, but this is not what Jenny meant, this bug is really about bad error message. Reopening.
The thing is, that sysdb transaction can error out with ENOENT in two cases: - the user does not exist - for example sss_usermod -c "Non-Existing User" nosuchuser - attempting to add a valid user into or remove from a nonexistent group - for example sss_usermod -a nosuchgroup validuser
sss_usermod -c "Non-Existing User" nosuchuser
sss_usermod -a nosuchgroup validuser
I guess there are two ways to fix it: - the easy way, just modify the error message on ENOENT to say something like "Check user and/or groupnames given on the command line" - the slightly harder way, if adding to or removing from groups, check if they exist first
resolution: fixed => status: closed => reopened
milestone: SSSD 0.5.0 => SSSD 0.6.0
doc: => 0 docupdated: => 0 milestone: SSSD 0.6.0 => SSSD 1.0 tests: => 0 testsupdated: => 0
Fixed in 62aa4da
fixedin: 0.5.0 => 0.7.0 resolution: => fixed status: reopened => closed tests: 0 => 1
tests: 1 => 0 testsupdated: 0 => 1
rhbz: => 0
Metadata Update from @jgalipea: - Issue assigned to jhrozek - Issue set to the milestone: SSSD 1.0
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/1142
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.