diff options
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 e993bee5e..96b43e0d5 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) |