Triggering an RPC When Defined Errors Occur
When the "Attempt Password Change with new password when error contains (regex)" setting is enabled, Secret Server generates a new password to use during the next RPC attempt when the defined error is returned. Using a regular expression, which you define, Secret Server scans the error message for specific text strings. When there is a match, Secret Server generates and sets a new next password for the secret that will be used in the next RPC attempt, which will occur based on the templates RPC interval. To keep this process from generating too many next passwords, it is restricted to five attempts while failing RPC.
Figure: Attempt Password Change with new password when error contains (regex) setting
Logic:
(RPC Error) AND (one or more regex matches) AND (five or fewer attempts) => New password generated
Examples:
.*UnknownError.*
(any unknown error)
.*
(any error)
.*minimum.*
(minimum password length requirement error)
.*0x80072035.*
(server rejects password error)
.*0x80072035.*|.*minimum.*
(server rejects password or password length error)
Procedure
To configure RPC in response to specific unknown errors:
- Go to Admin > Remote Password Changing. The Remote Password Changing Configuration page appears:
- Click the Configure Password Changers button. The Password Changers Configuration page appears:
- Click the link for the desired password type. Its Account page appears:
-
If necessary, click the Advanced Settings link.
-
Click the pencil icon next to Attempt Password Change with new password when error contains (regex). The Value text box appears.
-
Determine the desired text string to search for.
-
Type the desired regex in the Value text box.
-
Click the Save icon next to the text box.