ORA-24808: streaming of lob data is not allowed when using lob buffering
Cause : Attempted to stream lob data via the polling mode or a callback when lob buffering was enabled for the input lob locator.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Lob buffering is useful when reading/writing small amounts of lob data so streaming should not be necessary. Rewrite the OCILobRead/OCILobWrite call so that it does not use streaming. If streaming of data is required, lob buffering should not be used. In this case, flush buffers associated with the input lob locator as necessary, disable buffering on the input lob locator and reissue the OCILobRead/OCILobWrite call.
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.