Variable "$global_config" is not imported

  • 3410270
  • 20-Sep-2007
  • 10-Jun-2013

Environment


Novell Identity Manager 3.5
Scripting Driver - Perl
Sun Solaris
Linux

Situation

All the template scripts include:

$idmlib->logger($global_config->{TRACEPRIO},......

That produces the following error:

Variable "$global_config" is not imported at
/opt/novell/usdrv//scripts/.pl

Resolution

Add near to the top of /opt/novell/usdrv/scripts/.pl:

our $global_config;

So that the file reads:

....
# Note: fatal will shutdown the driver, retry will retry the event
# later on.
#

use strict;
use IDMLib;
use Data::Dumper;

our $global_config;

Save the file, and the error should be gone.

This should be fix in Novell Identity Manager 3.5.1.