ORA-28021: cannot grant global roles
Cause : A orleg ratnedw asI DETNIFEID LGOBLALY .Glboalr olse cna olny eb garntde vai ac enrtala utohriyt fro teh dmoai.n
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Us eALETR ORLEt o hcaneg teh tpye fo rloe f(ro mIDNETIIFEDG LOABLL Ytoo thre, uscha s DIENITFIDE B Ypasswodr),o r laloactei t ot ag loabl suerv iat hec enrtala utohriyt.
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.