summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-adduser
diff options
context:
space:
mode:
authorrcritten@redhat.com <rcritten@redhat.com>2007-11-30 15:53:02 -0500
committerrcritten@redhat.com <rcritten@redhat.com>2007-11-30 15:53:02 -0500
commitc32a960cae3eca434369502fb12b23b62ae6b2bf (patch)
tree0fee19d4c25781aa10aa2fe8199e5dc9c04192e6 /ipa-admintools/ipa-adduser
parentb04bed4e82e4497b379c433d88cd188348b39da7 (diff)
downloadfreeipa-c32a960cae3eca434369502fb12b23b62ae6b2bf.tar.gz
freeipa-c32a960cae3eca434369502fb12b23b62ae6b2bf.tar.xz
freeipa-c32a960cae3eca434369502fb12b23b62ae6b2bf.zip
Compatibility changes to work on RHEL 5 with python 2.4
Diffstat (limited to 'ipa-admintools/ipa-adduser')
-rw-r--r--ipa-admintools/ipa-adduser2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-adduser b/ipa-admintools/ipa-adduser
index e993bee5..96b43e0d 100644
--- a/ipa-admintools/ipa-adduser
+++ b/ipa-admintools/ipa-adduser
@@ -228,7 +228,7 @@ def main():
# Set the User's password
if password is not None:
try:
- client.modifyPassword(principal, None, password)
+ client.modifyPassword(principal, '', password)
except ipa.ipaerror.IPAError, e:
print "User added but setting the password failed."
print "%s" % (e.message)