跳至內容

Calling create_passthrough_verify_fcn returns an error

0

Has anybody seen the following problem in calling create_passthrough_verify_fcn?

We're trying to implement a custom password verify function by calling the following from the master user account:

begin
rdsadmin.rdsadmin_password_verify.create_passthrough_verify_fcn(
p_verify_function_name => 'VERIFY_FUNCTION_SYS',
p_target_owner => 'MASTER',
p_target_function_name => 'VERIFY_FUNCTION');
end;

VERIFY_FUNCTION is our custom password verify function and has been compiled successfully.

The follow error is returned:

ORA-20199: Error in rdsadmin_password_verify.create_passthrough_verify_fcn. ORA-20002: Unable to create the unprivileged user. Please contact AWS Support.
ORA-06512: at "RDSADMIN.RDSADMIN_PASSWORD_VERIFY", line 70
ORA-20002: Unable to create the unprivileged user. Please contact AWS Support.
ORA-06512: at line 2

Calling the simpler create_verify_function is OK but we need create_passthrough_verify_fcn to call our own custom function.

已提問 6 年前檢視次數 472 次
2 個答案
0

Hi there,

This can happen in situations where you have defined a restrictive password verification function on the "DEFAULT" profile and then run something that uses automation to create a new user in that profile. You might try setting the password verification function back to null for "DEFAULT", then retry creating the passthrough function, then re-enable password verification for "DEFAULT".

Hope this helps. Thanks!
Michael

AWS
已回答 6 年前
0

After setting the default profile to null, it is now working.

Thanks a lot.

已回答 6 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。