if-src-dn

Performs a test on the source DN in the current operation.

Remarks

Operator

Returns true when...

available

There is a source DN available.

equal

There is a source DN available and it equals the content of <if-src-dn> when compared using semantics appropriate to the DN format of the source data store. Supports variable expansion.

in-container

There is a source DN available and it represents an object in the container specified by the content of <if-src-dn> when compared using semantics appropriate to the DN format of the source data store.

in-subtree

There is a source DN available and it represents an object in the subtree specified by the content of <if-src-dn> when compared using semantics appropriate to the DN format of the source data store.

not-available

Available returns false.

not-equal

Equal returns false.

not-lt

Less than returns false.

not-gt

Greater than returns false.

Example

<if-src-dn op="available"/>
<if-src-dn op="equal">Novell\Users\Fred</if-src-dn>
<if-src-dn op="in-container">Novell\Users</if-src-dn>
<if-src-dn op="in-subtree">Novell</if-src-dn>

Allowed Content

#PCDATA

Attributes

Attribute

Possible Values

Default Value

disabled

true | false

True if this element is disabled.

false

notrace

true | false

True if this element should not be traced during execution of the policy.

false

op

available | equal | in-container | in-subtree | not-available | not-equal | not-in-container | not-in-subtree

est operator.

#REQUIRED

Content Rule

( #PCDATA )

Parent Elements

Element

Description

and

Logical conjunction.

or

Logical disjunction.