Unable to create the smbpassword with -s option with smbpasswd, tried the following command at command prompt: Raw # echo password@1234 | smbpasswd testuser1 -s # echo password@1234 | smbpasswd -a testuser1 -s Mismatch - password unchanged. Unable to get new password. ...
replace => [userPassword => "$hash_password"] ] ); $modify->code && warn "Unable to change password: ", $modify->error ; } # take down session $ldap_master->unbind; exit 0; # Generates hash to be one of the following RFC 2307 schemes: ...