diff options
author | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-17 10:03:33 -0400 |
---|---|---|
committer | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-17 10:03:33 -0400 |
commit | 05f6a22110f058c089e4e9cd6d538264f439f5d2 (patch) | |
tree | 074e87badeb62720c98e3abf279458167722b8ed /ipa-admintools/ipa-adduser | |
parent | 92be45e3fe990bb650ed0b50d175176dd2d2f484 (diff) | |
download | freeipa-05f6a22110f058c089e4e9cd6d538264f439f5d2.tar.gz freeipa-05f6a22110f058c089e4e9cd6d538264f439f5d2.tar.xz freeipa-05f6a22110f058c089e4e9cd6d538264f439f5d2.zip |
Implement user inactivation
Comment some functions
Add attribute argument to get_user()
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 af922833d..64c94e1d0 100644 --- a/ipa-admintools/ipa-adduser +++ b/ipa-admintools/ipa-adduser @@ -83,6 +83,9 @@ def main(): except kerberos.GSSError, e: print "Could not initialize GSSAPI: %s/%s" % (e[0][0][0], e[0][1][0]) return 1 + except xmlrpclib.ProtocolError, e: + print "Unable to connect to IPA server: %s" % (e.errmsg) + return 1 return 0 |