mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Compatibility changes to work on RHEL 5 with python 2.4
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user