ORA-01266: Unable to create unique file name
Cause : Unable to create a unique file name for an Oracle managed file. Oracle tried several names but each file name was already in use in the default destination directory for the file type.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Retry the operation. If that fails, also, it may be necessary to change the default destination directory for the file type and then retry.
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.