diff options
author | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-24 15:42:56 -0400 |
---|---|---|
committer | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-24 15:42:56 -0400 |
commit | 861cda3cb5256a177845029ddf1900f51271b56c (patch) | |
tree | 7cf9e2004705e129511d8c25ac69232af8901317 /ipa-admintools/ipa-adduser | |
parent | 240a99b6f35fe7a7de37c83e69471b84298d0f56 (diff) | |
download | freeipa.git-861cda3cb5256a177845029ddf1900f51271b56c.tar.gz freeipa.git-861cda3cb5256a177845029ddf1900f51271b56c.tar.xz freeipa.git-861cda3cb5256a177845029ddf1900f51271b56c.zip |
Initial support for Groups
Create separate object for Users and Groups (using same base class)
Check for uniqueness before adding new users and groups
Remove user_container from everything but add operations
Abstract out a number of functions that are common across users and groups
Make sure all strings passed in to be in a filter are checked
Add new error message: No modifications specified
Diffstat (limited to 'ipa-admintools/ipa-adduser')
-rw-r--r-- | ipa-admintools/ipa-adduser | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-adduser b/ipa-admintools/ipa-adduser index d2969036..99aadee4 100644 --- a/ipa-admintools/ipa-adduser +++ b/ipa-admintools/ipa-adduser @@ -88,6 +88,9 @@ def main(): except xmlrpclib.ProtocolError, e: print "Unable to connect to IPA server: %s" % (e.errmsg) return 1 + except ipa.ipaerror.IPAError, e: + print "%s" % (e.message) + return 1 return 0 |