aws-secrets-manager-rotation-lambdas icon indicating copy to clipboard operation
aws-secrets-manager-rotation-lambdas copied to clipboard

Oracle Issue with ORA-28221: REPLACE not specified

Open thegsbnut opened this issue 3 years ago • 0 comments

I try to use this script but i found the error ORA-28221: REPLACE not specified because i apply oracle user policy and it requires REPLACE syntax (example: alter user username identified by new password REPLACE old password )

so how to edit the script to support REPLACE in line 216 : "cur.execute("ALTER USER %s IDENTIFIED BY "%s"" % (escaped_username, pending_password))"

i am not the master of programing so please advise

thegsbnut avatar Feb 22 '22 11:02 thegsbnut