IBM Support

IT34844: DB2LOOK -XD DOES NOT SHOW ALL DATABASE AUTHORIZATION STATEMENTS GRANTED AT DATABASE CREATION TIME

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • According our documentation following database authorities are
    granted, but missing in db2look -xd output:
    
      " The database creator is granted the following authorities:
    
            ACCESSCTRL
            DATAACCESS
            DBADM
            SECADM
    
        In a non-restrictive database, the special group PUBLIC is
    granted the following authorities:
    
            CREATETAB
            BINDADD
            CONNECT
            IMPLICIT_SCHEMA"
    
    
    This Apar will add this information to db2look -xd output.
    Below is an example if CREATOR of the database was USER "HLEE":
    
    ----------------------------------------
    -- Authorization Statements on Database
    ----------------------------------------
    GRANT DBADM WITHOUT DATAACCESS WITHOUT ACCESSCTRL ON DATABASE
    TO USER "HLEE    " ;
    GRANT SECADM ON DATABASE  TO USER "HLEE    " ;
    GRANT DATAACCESS ON DATABASE  TO USER "HLEE    " ;
    GRANT ACCESSCTRL ON DATABASE  TO USER "HLEE    " ;
    GRANT CREATETAB ON DATABASE  TO  PUBLIC   ;
    GRANT BINDADD ON DATABASE  TO  PUBLIC   ;
    GRANT CONNECT ON DATABASE  TO  PUBLIC   ;
    GRANT IMPLICIT_SCHEMA ON DATABASE  TO  PUBLIC   ;
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 11.1 Fix Pack m4fp6 or later          *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 11.1 Fix Pack m4fp6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34844

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-11-09

  • Closed date

    2021-03-15

  • Last modified date

    2021-03-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
16 March 2021