Friday, December 3, 2021
dbametrix
More
    HomeOracle SecurityOSAUTH_PREFIX_DOMAIN for Oracle

    OSAUTH_PREFIX_DOMAIN for Oracle

    Hi friends,

    How to set OSAUTH_PREFIX_DOMAIN in Oracle database for windows security of Oracle databases.

    - Advertisement -
    dbametrix

    Yes, we can set OSAUTH_PREFIX_DOMAIN parameter in windows registry as follows.

    Go to following windows registry of Oracle software

    HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME#

    And add an entry of OSAUTH_PREFIX_DOMAIN=true

    - Advertisement -
    dbametrix

    This entry forces the external users to use the domain names in login. After enabling this entry in your server. We can create an external user as follows.

    create user “OPS$NTDOMAINusername” identified externally;

    Means if you are login as scott/tiger it becoming as your_domainscott/tiger.

    This entry will prevent OS account spoofing.

    In the Unix box, we can export the same parameter as an environment variable or add the same as a variable in .profile or .bash_profile.

    Sometimes we can get the following error due to mismatch domain name login as an external user.

    ORA-01017: invalid username/password; login denied

    Thanks and regards,

    Dbametrix Solutions

    - Advertisement -
    dbametrix
    - Advertisment -
    dbametrix

    Most Popular

    Recent Comments