ORA-28168: attempted to grant password-protected role

Cause : An ALTER USER ... GRANT CONNECT command was attempted specifying a role that is protected by a password as a role which the proxy may execute on behalf of a client.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Either specify a role that does not have a password or alter the role so that a password is not required.

update : 27-06-2017

ORA-28168 - attempted to grant password-protected role
ORA-28168 - attempted to grant password-protected role

  • ora-28521 : no heterogeneous capability information available
  • ora-33558 : (LOCKCHECK01) The status or contents of the workspace object dimension cannot be changed while the LOCK_LANGUAGE_DIMS option is set to value.
  • ora-16957 : SQL Analyze time limit interrupt
  • ora-28052 : the account is disabled
  • ora-01675 : max_commit_propagation_delay inconsistent with other instances
  • ora-25302 : Operation not possible for non-buffered queue string
  • ora-03127 : no new operations allowed until the active operation ends
  • ora-06733 : TLI Driver: failed to receive disconnect
  • ora-16765 : Redo Apply is unexpectedly online
  • ora-19621 : archivelog range has already been specified
  • ora-30733 : cannot specify rowid constraint on scoped ref column
  • ora-31466 : no publications found
  • ora-16570 : operation requires restart of database "string"
  • ora-14278 : column type or size mismatch in EXCHANGE SUBPARTITION
  • ora-23514 : invalid or incorrect number of arguments
  • ora-21608 : duration is invalid for this function
  • ora-31223 : DBMS_LDAP: cannot open more than string LDAP server connections
  • ora-01622 : thread number must be specified - default not specific
  • ora-12075 : invalid object or field
  • ora-26045 : REF column string expects string arguments; found string.
  • ora-27463 : invalid program type string
  • ora-02768 : Maximum number of files is invalid
  • ora-12737 : Instant Client Light: unsupported server character set string
  • ora-19029 : Cannot convert the given XMLType to the required type
  • ora-24062 : Subscriber table string inconsistent with queue table string
  • ora-14073 : bootstrap table or cluster may not be truncated
  • ora-01537 : cannot add file 'string' - file already part of database
  • ora-02324 : more than one column in the SELECT list of THE subquery
  • ora-01589 : must use RESETLOGS or NORESETLOGS option for database open
  • ora-04034 : unable to shrink pool to specified size
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    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.