Allowing Moves Only from Specific Containers
Novell Cool Solutions: Tip
|
Digg This -
Slashdot This
Posted: 12 Apr 2006 |
Problem
A Forum reader asked the following question:
"I am trying to set a condition in a rule so that if a move initiates from anywhere other than a specific container, the move will be vetoed. How would I do this?"
And here's the reply from Identity Manager expert Father Ramon ...
Solution
You can't use regular expressions in XPath 1.0 without making a call to an extension function. You could do something like this:
<if-xpath op="not-true">starts-with(@old-src-dn,'\PHC_IDENT\Users\deleted\')</if-xpath>
Note the change from op="true" to op="not-true" ... Also be aware that the comparisons are case-sensitive.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

