summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-usermod
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-08-17 10:41:45 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-17 10:41:45 -0400
commit9238e3cb4af0b5ac490bb4b2f15d4d1b553e079c (patch)
tree31c881505d97c2eb01b5117287b1665b08bb4845 /ipa-admintools/ipa-usermod
parentd41db21a09b80968f22c2211bf6472fe95b34b3f (diff)
parent0ddf0699a5dd47c575a7e757f38819c8c74340f9 (diff)
downloadfreeipa.git-9238e3cb4af0b5ac490bb4b2f15d4d1b553e079c.tar.gz
freeipa.git-9238e3cb4af0b5ac490bb4b2f15d4d1b553e079c.tar.xz
freeipa.git-9238e3cb4af0b5ac490bb4b2f15d4d1b553e079c.zip
Merge with upstream
Diffstat (limited to 'ipa-admintools/ipa-usermod')
-rw-r--r--ipa-admintools/ipa-usermod3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-usermod b/ipa-admintools/ipa-usermod
index d2aff4ab..33d35d21 100644
--- a/ipa-admintools/ipa-usermod
+++ b/ipa-admintools/ipa-usermod
@@ -76,6 +76,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