Bug 513244

Summary: Better error Message when modifying a user that doesn't exist
Product: [Fedora] Fedora Reporter: Jenny Galipeau <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 13:23:17 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jenny Galipeau 2009-07-22 13:00:37 EDT
Description of problem:

When attempting to modify a user that doesn't exist, the following is
returned:

Fedora 11:
[root@jennyF11 etc]# sss_usermod -h /home/myuser myuser
[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. attempt to modify a user that doesn't exist in the LOCAL sss domain
2.
3.
  
Actual results:
[sss_usermod] [main] (0): Operation failed (2)[No such file or directory]

Expected results:
Error message stating that the user doesn't exist

Additional info:

RHEL 5.3 error:

Transaction error. Could not modify user.
Comment 1 Jenny Galipeau 2010-01-12 13:42:51 EST
fix verified automated daily acceptance tests for regression