diff options
author | rcritten@redhat.com <rcritten@redhat.com> | 2007-11-30 15:53:02 -0500 |
---|---|---|
committer | rcritten@redhat.com <rcritten@redhat.com> | 2007-11-30 15:53:02 -0500 |
commit | c32a960cae3eca434369502fb12b23b62ae6b2bf (patch) | |
tree | 0fee19d4c25781aa10aa2fe8199e5dc9c04192e6 /ipa-admintools/ipa-adduser | |
parent | b04bed4e82e4497b379c433d88cd188348b39da7 (diff) | |
download | freeipa-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-adduser | 2 |
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) |