Hi Rajesh,
Since you want to change password, please check carefully point 7 of SAP Note562863 - "FAQ: Logon mechanisms" for the simplest and safest way ofconsistent password change with brconnect.
You can also check the SAP KBA 1576837 - "ORA-01017: invalid username/password".
Regards,
Bíborka