Bug 513244 - Better error Message when modifying a user that doesn't exist
Summary: Better error Message when modifying a user that doesn't exist
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 11
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-22 17:00 UTC by Jenny Severance
Modified: 2010-01-12 18:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-12 18:23:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jenny Severance 2009-07-22 17:00:37 UTC
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 Severance 2010-01-12 18:42:51 UTC
fix verified automated daily acceptance tests for regression


Note You need to log in before you can comment on or make changes to this bug.