ORA-16552: an error occurred when generating the CLIENT OPERATION table
Cause : An error occurred while Data Guard broker was generating the CLIENT OPERATION table.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
See the next error message in the error stack for more detailed information. If the situation described in the next error in the stack can be corrected, do so; otherwise, contact Oracle Customer Support.
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.