Bug 513242

Summary: Better error Message when adding a user to a group that doesn't exist
Product: [Fedora] Fedora Reporter: Jenny Severance <jgalipea>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 11CC: jhrozek, sbose, sgallagh, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-12 18:22:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jenny Severance 2009-07-22 16:53:06 UTC
Description of problem:
When attempting to add a user to a group that doesn't exist, the following is returned:

Fedora 11:
[root@jennyF11 etc]# sss_usermod -a mygroup user1000
[sss_usermod] [main] (0): Operation failed (2)[No such file or directory]


Version-Release number of selected component (if applicable):

sssd-debuginfo-0.4.1-1.fc11.i586
sssd-0.4.1-1.fc11.i586


How reproducible:
always

Steps to Reproduce:
1. add a user to the LOCAL sss.ldb domain
2. attempt to add the user to a group that doesn't exist
3.
  
Actual results:
[sss_usermod] [main] (0): Operation failed (2)[No such file or directory]

Expected results:
Error message informing user that the group does not exist.

Additional info:

RHEL 5.3 error:

Transaction error. Could not modify user.

Comment 1 Jenny Severance 2010-01-12 18:42:31 UTC
fix verified automated daily acceptance tests for regression