summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-finduser
diff options
context:
space:
mode:
authorrcritten@redhat.com <rcritten@redhat.com>2007-08-17 10:03:33 -0400
committerrcritten@redhat.com <rcritten@redhat.com>2007-08-17 10:03:33 -0400
commit05f6a22110f058c089e4e9cd6d538264f439f5d2 (patch)
tree074e87badeb62720c98e3abf279458167722b8ed /ipa-admintools/ipa-finduser
parent92be45e3fe990bb650ed0b50d175176dd2d2f484 (diff)
downloadfreeipa-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-finduser')
-rw-r--r--ipa-admintools/ipa-finduser3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-finduser b/ipa-admintools/ipa-finduser
index b16c19d99..4b1651c0b 100644
--- a/ipa-admintools/ipa-finduser
+++ b/ipa-admintools/ipa-finduser
@@ -71,6 +71,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