I would like to match all users with CN starts with "adm1" in the
placement rule.

Here is my policy :

<description>Users is sysadmin </description>
<if-class-name op="equal">User</if-class-name>
<if-attr mode="regex" name="CN" op="equal">^adm1.*</if-attr>
<token-text xml:space="preserve">LAB\Sysadmin</token-text>
<token-text xml:space="preserve">\</token-text>

According to regex rules, this should work , but never work in IDM.

Eventually I used the regex expression : "adm1.*" which means that the
string contains " adm1" but not exactly starts with "adm1"

Anybody know how to do it ?


sma's Profile: http://forums.novell.com/member.php?userid=22076
View this thread: http://forums.novell.com/showthread.php?t=334047