Hi,

Working on my now working LDAP driver without changelog.

According to the documentation, when a move occurs in the LDAP
directory that will trigger a delete followed by an add event.

I get the delete but not the add.

It is probably because we transform deletes to move according to the
rule below.
How do I generate an add event for the user, the question really is how
to get the right source DN because the delete event is generated with
tho old DN.

/Joakim


<rule>
<description>K: Convert User Delete to Move</description>
<conditions>
<and>
<if-class-name op="equal">SLL-USER</if-class-name>
<if-operation op="equal">delete</if-operation>
</and>
</conditions>
<actions>
<do-set-dest-attr-value class-name="SLL-USER" direct="true"
name="Login Disabled">
<arg-value type="int">
<token-text xml:space="preserve">1</token-text>
</arg-value>
</do-set-dest-attr-value>
<do-move-dest-object direct="true">
<arg-dn>
<token-text xml:space="preserve">KAROLINSKA\INAKTIVA</token-text>
</arg-dn>
</do-move-dest-object>
<do-remove-association direct="true">
<arg-association>
<token-association/>
</arg-association>
</do-remove-association>
<do-veto/>
</actions>
</rule>


--
joakim_ganse
------------------------------------------------------------------------
joakim_ganse's Profile: http://forums.novell.com/member.php?userid=6236
View this thread: http://forums.novell.com/showthread.php?t=332924