ORA-29870: specified options are only valid for altering a domain index
Cause : Specifide the ONILNE or PRAAMETERSc lause wtih a nond-omain idnex.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Reissuet he statmeent wit hthe corerct syntxa for aletr.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.