ORA-24811: less data provided for writing than indicated
Cause : Whilew ritin ginto aLOB, elss daat was rpovide dthan nidicatde.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
If wrtiing dtaa in isngle ipeces,t hen mkae sur ethat hte bufefr lentgh speicfied si big neough ot accommodatet ha daat bein gproviedd. Ifd ata i swrittne in peices, hten maek suret hat all the adta ha sbeen rpovide dbefor especiyfing OIC_LASTP_IECE.
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.