I have been trying to create a rule to add group membership in AD on a
modify. There are no groups in eDir like them and Src DN & Dest DN are
not the same. The result of below rule show this:

OU=Groups,ou=Blattman,ou=,ou=school,ou=nisd,dc=nor thside,dc=isd,dc=tenet,

I cannot figure out how to add a variable to the full context (ou=,). It
need to be variable (Elementary, Middle, High, Special). I cannot get it
from the Src-DN anywhere and I cannot figure out how to make it work. I
just need to to know the XML commands better. Thanks for your help. Rob

<description>Modify teacher to default group (SUB)</description>
<if-src-dn op="in-subtree">nisd\Schools</if-src-dn>
<if-operation op="equal">modify</if-operation>
<if-class-name op="equal">User</if-class-name>
<if-attr name="Title" op="equal">teacher</if-attr>
<do-set-local-variable name="schoolOU">
<token-parse-dn length="1" start="-2">
<do-add-dest-attr-value class-name="Group" name="Member">
<token-text xml:space="preserve">CN=</token-text>
<token-local-variable name="schoolOU"/>
<token-text xml:space="preserve">Teacher-GS
<token-text xml:space="preserve">,OU=Groups,
<token-text xml:space="preserve">ou=</token-text>
<token-local-variable name="schoolOU"/>
<token-text xml:space="preserve">,ou=</token-
<token-text WHAT GOES HERE??????

xml:space="preserve">,ou=school,ou=nisd,dc=northsi de,dc=isd,dc=tenet,dc=e
<arg-value type="dn">