308
Novell eDirectory 8.8 Administration Guide
no
vd
ocx
(e
n)
6 Ap
ril 20
07
Names/Optional Value Pairs
Variable names are combinations of alphanumeric characters in a string of any length. Because only
the first 31 characters are used, a variable must begin with a unique 31-character string. A variable
name must start with an alphabetic character, or the symbol is interpreted as a numeric constant.
Variable names are case sensitive. For example, the variable
R1
is not the same as the variable
r1
.
The underscore character (_) is allowed in variable names.
Values in a declaration must be constants rather than variables or expressions. Thus, the declaration
LOCAL INT L2:= L3;
is not allowed. A value initializing a variable in the Declaration section
can be changed in the Selector and Provider sections of the policy.
12.3.2 Selector Section
The Selector section of a policy begins with the keyword SELECTOR and concludes with the
keyword END. Selector sections are evaluated to determine which loaded policy will be used.
The Selector sections of all the currently loaded policies are run to determine which policy has the
greatest weight. When evaluated, the section returns a weight between 0-100, where 0 means do not
use this policy, 1-99 means use this policy if no other policy returns a higher value, and 100 means
use this policy.
The result of a Selector section is given in a RETURN declaration. If no RETURN declaration is
made, a default value of 0 is returned. The following is a sample Selector section:
SELECTOR
RETURN 49;
END
When the Selector sections of multiple policies are evaluated, more than one policy might return the
same value. In this case, it is indeterminate which policy will be selected. All else being equal, a
server policy overrides a WAN policy.
For more information on writing declarations, see
“Construction Used within Policy Sections” on
page 309
. See also
“Provider Section” on page 308
.
12.3.3 Provider Section
The Provider section begins with the keyword PROVIDER and concludes with the keyword END.
The body of the Provider section consists of a list of declarations.
The result of this Declarations list is a value representing the policy's suggestion to SEND or
DONT_SEND.
The result of a Provider section is given in a RETURN declaration. If no RETURN declaration is
made, a default value of SEND is returned.
The following is a sample Provider section:
PROVIDER
RETURN SEND;
END
For more information on writing declarations, see
“Construction Used within Policy Sections” on
page 309
.
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...