Change the password of a certain user in a specific realm.
This method in fact adds the user whith the new password after deleting the user.
the user whose password should be changed
the realm the user is in
the new plaintext password
Table 24-1. Possible PEAR_Error values
Error Code | Summary |
---|---|
FILE_PASSWD_E_USER_NOT_IN_REALM | user doesn't exist in the supplied realm |
FILE_PASSWD_E_INVALID_CHARS | user or realm contains illegal characters |