ipaserver.plugins.passwd.get_current_password

ipaserver.plugins.passwd.get_current_password(principal)[source]

If the user is changing their own password then return None so the current password is prompted for, otherwise return a fixed value to be ignored later.