IBM Support

JR28440: RUNNING DB2EXTSEC FOLLOWING COMPUTERNAME CHANGE RESULTS WITH ERROR: NO MAPPING BETWEEN ACCOUNT NAMES AND SECURITY IDS DONE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In V9, fp4 changes were made to db2extsec which result in
    problems when the computer name changes. After the computer name
    changes if you run:
    db2extsec.exe -a <new computer name>\DB2ADMNS -u <new computer
    name>/DB2USERSS
    
    you will receive
    DB2EXTSEC: No mapping between account names and security IDs was
    done.
    
    This is only a problem starting at V9 Fixpak 4.
    

Local fix

  • Issue the following commands to resolve the issue:
    
    Set environment variable:
    SET DB2_EXTSECURITY=NO
    
    Then set the DB2 Registry variables:
    DB2SET   DB2_ADMINGROUP=NEW_NAME\DB2ADMNS
    DB2SET   DB2_USERSGROUP=NEW_NAME\DB2USERS
    
    Then unset the environment variable:
    SET  DB2_EXTSECURITY=
    
    The command SET  DB2_EXTSECURITY=NO will override the
    DB2_EXTSECURITY setting in the DB2  registry.
    ( It is set to YES in the registry ).
    The SET DB2_EXTSECURITY=NO
    will not change the DB2_EXTSECURITY setting in the DB2 registry.
    
    At the end of this, the end result is that the DB2_ADMINGROUP
    and DB2_USERSGROUP changed to the new desired values.
    

Problem summary

  • Users Affected: Windows environments
    
    Problem Description: Running db2extsec.exe after you've changed
    your computer name may result in error: DB2EXTSEC: no mapping
    between account names and security IDs was done.
    
    
    Problem Summary: Running db2extsec.exe after you've
    changed
    your computer name may result in error: DB2EXTSEC: no mapping
    between account names and security IDs was done.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.1 Fixpak 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR28440

  • Reported component name

    DB2 UDB PE WIND

  • Reported component ID

    5724B5501

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-06

  • Closed date

    2009-04-21

  • Last modified date

    2009-04-21

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

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

    JR30561

Fix information

  • Fixed component name

    DB2 UDB PE WIND

  • Fixed component ID

    5724B5501

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 October 2021