diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-10-02 10:39:02 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-14 15:24:53 -0400 |
commit | 62aa4da7dc3a7826c5a942349e1af9631ca819f5 (patch) | |
tree | 7e6419821ae04117ee300022dadcebfa5b94c23b /server/tools/sss_groupadd.c | |
parent | 00d9648150da524df2690392995804e69604bdc8 (diff) | |
download | sssd-62aa4da7dc3a7826c5a942349e1af9631ca819f5.tar.gz sssd-62aa4da7dc3a7826c5a942349e1af9631ca819f5.tar.xz sssd-62aa4da7dc3a7826c5a942349e1af9631ca819f5.zip |
Fix error messages in tools
Add getpwnam, getgrnam sync versions
Fix ticket #164: Groupnames in non-local domains
Fix ticket #100: Error Message Modifying a user that doesn't Exist
Fix ticket #214: incorrect error message when MPG already exists
Fix ticket #188: Deleting and modifying users in non-local domain
Fix ticket #120: Adding a user to a full domain gives unhelpful error message
Diffstat (limited to 'server/tools/sss_groupadd.c')
-rw-r--r-- | server/tools/sss_groupadd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tools/sss_groupadd.c b/server/tools/sss_groupadd.c index 1f6a2f117..82d4573db 100644 --- a/server/tools/sss_groupadd.c +++ b/server/tools/sss_groupadd.c @@ -125,6 +125,10 @@ done: if (tctx->error) { ret = tctx->error; switch (ret) { + case ERANGE: + ERROR("Could not allocate ID for the group - domain full?\n"); + break; + case EEXIST: ERROR("A group with the same name or GID already exists\n"); break; |