PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
mixed File_Passwd_Smb::changePasswd (string $user, string $pass)
mixed File_Passwd_Smb::changePasswd
Change the passwd of a certain user.
the user whose passwd should be changed
the new plaintext passwd
Returns TRUE on success, PEAR_Error on failure.
Returns PEAR_Error FILE_PASSWD_E_EXISTS_NOT, if user doesn't exist.
This function can not be called statically.