These scripts are written for the Linux and UNIX Perl interpreter. They are located in the scripts folder below the folder where the driver was installed (/opt/novell/usdrv/ by default).
Subscriber events are submitted to subscriber.pl, which then calls the script for the event. Modify the Perl script file corresponding to the event type: add.pl, modify.pl, modify-password.pl, delete.pl, move.pl, rename.pl. Queries of the external system should be handled in query.pl.
The Publisher calls poll.pl periodically. The frequency of the poll is determined by the Polling Interval driver parameter (60 seconds by default). Edit poll.pl to allow the driver to respond to events in the external account management system.
The Publisher calls heartbeat.pl periodically to determine whether the external account management system is responding correctly.
The built-in functions below are defined in IDMLib.pm.
Returns the string value for the Driver parameter specified by the string ParamName.
Appends the specified message to the user-defined trace file.
Executes an external program using the specified command line, and returns its numerical exit code on completion.
Sends a status document with given level and message to return to the Identity Manager engine when the script completes.
The status document as seen by the engine looks like the following:
<status level="success">This is a message</status>
Sends a status document with a success level and message to return to the Identity Manager engine when the script completes.
Sends a status document with a warning level and message to return to the Identity Manager engine when the script completes.
Sends a status document with a retry level and message to return to the Identity Manager engine when the script completes.
Sends a status document with a error level and message to return to the Identity Manager engine when the script completes.
Sends a status document with a fatal level and message to return to the Identity Manager engine when the script completes.
Returns the string value for the Subscriber parameter specified by the string ParamName.
Returns a string value for the item specified by Name through standard output. If no values exist, Empty is returned. If the value is multi-valued, each value is separated by a newline character.
Sets a single string value for the item specified by Name to be returned to the driver engine.
Returns the string value for the Publisher parameter specified by the string ParamName.
Performs a query to the engine with the given ClassName, Association and ReadAttrs.
Retrieves a string value for the query result item, specified by ParamName, through standard output. If no values exist, Empty is returned. If the value is multi-valued, each value is separated by a newline character.
Use these functions in the heartbeat.sh script to indicate the status of the external application. Heartbeat documents are sent to the engine in following format:
<status level="success" type="heartbeat">This is a heartbeat message</status>
Use these functions in the heartbeat.sh script to indicate the status of the external application. Heartbeat documents are sent to the engine in following format:
<status level="success" type="heartbeat">This is a heartbeat message</status>
Use these functions in the heartbeat.sh script to indicate the status of the external application. Heartbeat documents are sent to the engine in following format:
<status level="success" type="heartbeat">This is a heartbeat message</status>