Skip to content

oracle_user fixes - #177

Open
ibre5041 wants to merge 7 commits into
oravirt:masterfrom
ibre5041:oracle_user_fixes
Open

oracle_user fixes#177
ibre5041 wants to merge 7 commits into
oravirt:masterfrom
ibre5041:oracle_user_fixes

Conversation

@ibre5041

@ibre5041 ibre5041 commented Oct 6, 2021

Copy link
Copy Markdown

Changes summary:

  • use single quotes for IDENTIFIED BY VALUES

  • user double quotes for IDENTIFIED BY "plaintext password", allows passwords starting with digit (and other special cases)

  • upper/lower case for TBS, PROFILE, etc is ignored

  • wanted/current are stored as a set of tuples:

    set({('PASSWORD_HASH', '********'), ('PROFILE', 'default'), ('DEFAULT_TABLESPACE', 'users'), ('ACCOUNT_STATUS', 'locked')})
    
  • ALTER USER command is triggered when wanted_set is not subset of current_set

  • When password hash is provided and is it the same as old password hash, password is not altered. This avoids messing with various security profiles.

  • port number parameter type is "int"

@ibre5041 ibre5041 changed the title Oracle user fixes oracle_user fixes Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant