Hi, i have an eDir-AD connector with mirror structure.

[Root]
o=COMPANY
ou=OFICCE1
cn=OFFICE1 (Group Object)
ou=OFFICE2
cn=OFFICE2 (Group Object)

when add an user, user is added as member of group.
Ej:
add cn=user1,ou=office1,o=company
then, the user is added to cn=office1,ou=office1,o=company


The problem is when i move the user, whe user1 is moved from office1 to
office2, nedd to leave office1 group and add as member of office2.

i don't know how to do that. how to extract from old-src-dn the old dn
group?


when operation is add, i have the code:

<do-set-local-variable name="DefaultGroup" scope="policy">
<arg-string>
<token-src-dn length="-2" start="0"/>
</arg-string>
</do-set-local-variable>
<do-set-local-variable name="groupName" scope="policy">
<arg-string>
<token-src-dn length="1" start="-2"/>
</arg-string>
</do-set-local-variable>


PD: sorry, speak english very bad!!!


--
juanma
------------------------------------------------------------------------
juanma's Profile: http://forums.novell.com/member.php?userid=13457
View this thread: http://forums.novell.com/showthread.php?t=408360