The scripts are written for the Linux and UNIX Bourne Shell. 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.sh, which then calls the script for the event. Modify the shell script file corresponding to the event type: add.sh, modify.sh, modify-password.sh, delete.sh, move.sh, rename.sh. Queries of the external system should be handled in query.sh.
The Publisher calls poll.sh periodically. The frequency of the poll is determined by the Polling Interval driver parameter (60 seconds by default). Edit poll.sh to allow the driver to respond to events in the external account management system.
The Publisher calls heartbeat.sh periodically to determine whether the external account management system is responding correctly.
The built-in functions below are defined in idmlib.sh.
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 will be separated by a newline character.
Sets a single string value for the item specified by Name to be returned to the driver engine.
Only one function exists in this category.
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 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.
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>